molecular
|
Wrapper around std::thread. More...
#include <StdThread.h>
Public Types | |
using | Mutex = StdMutex |
Public Member Functions | |
virtual | ~StdThread () |
virtual void | Work ()=0 |
This is the workload function. More... | |
void | Start () |
Starts execution of the thread. More... | |
void | WaitForExit () |
Blocks the calling thread until this one ends. More... | |
Static Public Member Functions | |
static void | Sleep (float seconds) |
Wrapper around std::thread.
|
inlinevirtual |
|
inlinestatic |
|
inline |
Starts execution of the thread.
|
inline |
Blocks the calling thread until this one ends.
|
pure virtual |
This is the workload function.