Public Member Functions | |
AtomicTestThread (std::atomic< u32 > &v, Semaphore &trigger) | |
Public Member Functions inherited from Thread | |
Thread (const std::string &name="") | |
virtual | ~Thread () |
bool | start () |
bool | stop () |
bool | wait () |
bool | isCurrentThread () |
bool | isRunning () |
bool | stopRequested () |
std::thread::id | getThreadId () |
bool | getReturnValue (void **ret) |
bool | bindToProcessor (unsigned int proc_number) |
bool | setPriority (int prio) |
Private Member Functions | |
void * | run () |
Private Attributes | |
std::atomic< u32 > & | val |
Semaphore & | trigger |
Additional Inherited Members | |
Static Public Member Functions inherited from Thread | |
static Thread * | getCurrentThread () |
static void | setName (const std::string &name) |
static unsigned int | getNumberOfProcessors () |
Protected Attributes inherited from Thread | |
std::string | m_name |
|
inline |
|
inlineprivatevirtual |
Implements Thread.
References trigger, val, and Semaphore::wait().
|
private |
Referenced by run().