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

Macros

#define THREADS   8
 

Functions

static DWORD WINAPI test_thread (LPVOID arg)
 
static int start_threads (size_t count, HANDLE *threads)
 
static int close_threads (DWORD count, HANDLE *threads)
 
static BOOL TestWaitForAll (void)
 
static BOOL TestWaitOne (void)
 
static BOOL TestWaitOneTimeout (void)
 
static BOOL TestWaitOneTimeoutMultijoin (void)
 
static BOOL TestDetach (void)
 
int TestSynchMultipleThreads (int argc, char *argv[])
 

Macro Definition Documentation

◆ THREADS

#define THREADS   8

Function Documentation

◆ close_threads()

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:

◆ start_threads()

static int start_threads ( size_t  count,
HANDLE *  threads 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_thread()

static DWORD WINAPI test_thread ( LPVOID  arg)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestDetach()

static BOOL TestDetach ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestSynchMultipleThreads()

int TestSynchMultipleThreads ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

◆ TestWaitForAll()

static BOOL TestWaitForAll ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestWaitOne()

static BOOL TestWaitOne ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestWaitOneTimeout()

static BOOL TestWaitOneTimeout ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestWaitOneTimeoutMultijoin()

static BOOL TestWaitOneTimeoutMultijoin ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function: