FreeRDP
|
#include <winpr/crt.h>
#include <winpr/crypto.h>
#include <winpr/synch.h>
#include <winpr/thread.h>
#include <winpr/interlocked.h>
#include <winpr/sysinfo.h>
#include "../synch.h"
Macros | |
#define | MAX_SLEEP_MS 22 |
Functions | |
static UINT32 | prand (UINT32 max) |
static DWORD WINAPI | test_synch_barrier_thread (LPVOID lpParam) |
static BOOL | TestSynchBarrierWithFlags (DWORD dwFlags, DWORD dwThreads, DWORD dwLoops) |
int | TestSynchBarrier (int argc, char *argv[]) |
Variables | |
static SYNCHRONIZATION_BARRIER | gBarrier |
static HANDLE | gStartEvent = NULL |
static LONG | gErrorCount = 0 |
#define MAX_SLEEP_MS 22 |
|
static |
|
static |
int TestSynchBarrier | ( | int | argc, |
char * | argv[] | ||
) |
|
static |
|
static |
|
static |
|
static |