|
FreeRDP
|
#include <stdio.h>#include <winpr/crt.h>#include <winpr/crypto.h>#include <winpr/synch.h>#include <winpr/thread.h>#include <winpr/interlocked.h>Macros | |
| #define | TEST_NUM_THREADS 100 |
| #define | TEST_NUM_FAILURES 10 |
Functions | |
| static UINT32 | prand (UINT32 max) |
| static BOOL CALLBACK | TestOnceFunction (PINIT_ONCE once, PVOID param, PVOID *context) |
| static DWORD WINAPI | TestThreadFunction (LPVOID lpParam) |
| int | TestSynchInit (int argc, char *argv[]) |
Variables | |
| static INIT_ONCE | initOnceTest = INIT_ONCE_STATIC_INIT |
| static HANDLE | hStartEvent = NULL |
| static LONG * | pErrors = NULL |
| static LONG * | pTestThreadFunctionCalls = NULL |
| static LONG * | pTestOnceFunctionCalls = NULL |
| static LONG * | pInitOnceExecuteOnceCalls = NULL |
| #define TEST_NUM_FAILURES 10 |
| #define TEST_NUM_THREADS 100 |
|
static |


|
static |


| int TestSynchInit | ( | int | argc, |
| char * | argv[] | ||
| ) |

|
static |


|
static |
|
static |
|
static |
|
static |
|
static |
|
static |