A partial implementation of std::thread::this_thread. More...
Functions | |
ThreadId MEZZ_LIB | get_id () |
Return the thread ID of the calling thread. More... | |
void MEZZ_LIB | sleep_for (UInt32 MicroSeconds) |
Blocks the calling thread for a period of time. More... | |
void MEZZ_LIB | yield () |
Yield execution to another thread. More... | |
A partial implementation of std::thread::this_thread.
Return the thread ID of the calling thread.
Blocks the calling thread for a period of time.
MicroSeconds | Minimum time to put the thread to sleep. |
Blocks the calling thread for a period of time.
MicroSeconds | the amount of micro seconds. |
Definition at line 181 of file consolelogic.cpp.
void MEZZ_LIB Mezzanine::Threading::this_thread::yield | ( | ) |
Yield execution to another thread.
Offers the operating system the opportunity to schedule another thread that is ready to run on the current processor.