FreeRDP
TestSynchBarrier.c File Reference
#include <winpr/crt.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   32
 

Functions

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
 

Macro Definition Documentation

#define MAX_SLEEP_MS   32

Function Documentation

static DWORD WINAPI test_synch_barrier_thread ( LPVOID  lpParam)
static

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL TestSynchBarrierWithFlags ( DWORD  dwFlags,
DWORD  dwThreads,
DWORD  dwLoops 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

SYNCHRONIZATION_BARRIER gBarrier
static
LONG gErrorCount = 0
static
HANDLE gStartEvent = NULL
static