Photon microGUI widgets library 0.6.0
|
Functions | |
thread::id | get_id () throw () |
Return the thread ID of the calling thread. | |
template<class _Rep , class _Period > | |
void | sleep_for (const chrono::duration< _Rep, _Period > &_dur) |
The namespace this_thread
provides methods for dealing with the calling thread.
|
inline |
Blocks the calling thread for a period of time.
[in] | aTime | Minimum time to put the thread to sleep. Example usage: // Sleep for 100 milliseconds
this_thread::sleep_for(chrono::milliseconds(100));
void sleep_for(const chrono::duration< _Rep, _Period > &_dur) Definition: thread.hpp:2022 |