FreeRDP
|
Functions | |
static BOOL | test_mutex_basic (void) |
static BOOL | test_mutex_recursive (void) |
static DWORD WINAPI | test_mutex_thread1 (LPVOID lpParam) |
static BOOL | test_mutex_threading (void) |
int | TestSynchMutex (int argc, char *argv[]) |
Variables | |
static HANDLE | thread1_mutex1 = NULL |
static HANDLE | thread1_mutex2 = NULL |
static BOOL | thread1_failed = TRUE |
|
static |
|
static |
|
static |
at this point: thread1_mutex1 is expected to be locked thread1_mutex2 is expected to be unlocked defined task: try to lock thread1_mutex1 (expected to fail) lock and unlock thread1_mutex2 (expected to work)
|
static |
int TestSynchMutex | ( | int | argc, |
char * | argv[] | ||
) |
|
static |
|
static |
|
static |