DDraceNetwork Docs
thread.cpp File Reference
#include <gtest/gtest.h>
#include <base/lock.h>
#include <base/system.h>
#include <base/tl/threading.h>
Include dependency graph for thread.cpp:

Functions

static void Nothing (void *pUser)
 
 TEST (Thread, Detach)
 
static void SetToOne (void *pUser)
 
 TEST (Thread, Wait)
 
 TEST (Thread, Yield)
 
 TEST (Thread, Semaphore)
 
 TEST (Thread, SemaphoreSingleThreaded)
 
 TEST (Thread, SemaphoreWrapperSingleThreaded)
 
static void SemaphoreThread (void *pUser)
 
 TEST (Thread, SemaphoreMultiThreaded)
 
static void LockThread (void *pUser)
 
 TEST (Thread, Lock)
 

Function Documentation

◆ LockThread()

static void LockThread ( void *  pUser)
static

◆ Nothing()

static void Nothing ( void *  pUser)
static

◆ SemaphoreThread()

static void SemaphoreThread ( void *  pUser)
static

◆ SetToOne()

static void SetToOne ( void *  pUser)
static

◆ TEST() [1/8]

TEST ( Thread  ,
Detach   
)

◆ TEST() [2/8]

TEST ( Thread  ,
Lock   
)

◆ TEST() [3/8]

TEST ( Thread  ,
Semaphore   
)

◆ TEST() [4/8]

TEST ( Thread  ,
SemaphoreMultiThreaded   
)

◆ TEST() [5/8]

TEST ( Thread  ,
SemaphoreSingleThreaded   
)

◆ TEST() [6/8]

TEST ( Thread  ,
SemaphoreWrapperSingleThreaded   
)

◆ TEST() [7/8]

TEST ( Thread  ,
Wait   
)

◆ TEST() [8/8]

TEST ( Thread  ,
Yield   
)