FreeRDP
|
#include <stdlib.h>
#include <winpr/crt.h>
#include <winpr/crypto.h>
#include <winpr/synch.h>
#include <winpr/thread.h>
Macros | |
#define | THREADS 8 |
Functions | |
static UINT32 | prand (UINT32 max) |
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[]) |
#define THREADS 8 |
|
static |
|
static |
|
static |
|
static |
|
static |
int TestSynchMultipleThreads | ( | int | argc, |
char * | argv[] | ||
) |
|
static |
|
static |
|
static |
|
static |