FreeRDP
TestSynchMultipleThreads.c File Reference
#include <stdlib.h>
#include <winpr/crt.h>
#include <winpr/synch.h>
#include <winpr/thread.h>

Macros

#define THREADS   24
 

Functions

static DWORD WINAPI test_thread (LPVOID arg)
 
static int start_threads (DWORD count, HANDLE *threads)
 
static int close_threads (DWORD count, HANDLE *threads)
 
int TestSynchMultipleThreads (int argc, char *argv[])
 

Macro Definition Documentation

#define THREADS   24

Function Documentation

static int close_threads ( DWORD  count,
HANDLE *  threads 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static int start_threads ( DWORD  count,
HANDLE *  threads 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static DWORD WINAPI test_thread ( LPVOID  arg)
static

Here is the call graph for this function:

Here is the caller graph for this function:

int TestSynchMultipleThreads ( int  argc,
char *  argv[] 
)

Here is the call graph for this function:

Here is the caller graph for this function: