For detailed information see Threads.
More...
|
#define | MIRA_SLEEP(ms) mira::sleep(mira::Duration::milliseconds(ms)); |
| Sleeps for ms milliseconds This is a thread interruption point - if interruption of the current thread has been requested, its execution will terminate. More...
|
|
#define | MIRA_DISABLE_THREAD_INTERRUPT disable_interruption _disable_interruption_USE_ONLY_ONCE_PER_SCOPE_; |
| Disable interruption of the current thread in the scope where this is placed. More...
|
|
#define | MIRA_SLEEP_NO_INTERRUPT(ms) |
| Sleeps for ms milliseconds, thread interruption is disabled for this time (but not beyond). More...
|
|
For detailed information see Threads.
◆ MIRA_SLEEP
◆ MIRA_DISABLE_THREAD_INTERRUPT
#define MIRA_DISABLE_THREAD_INTERRUPT disable_interruption _disable_interruption_USE_ONLY_ONCE_PER_SCOPE_; |
◆ MIRA_SLEEP_NO_INTERRUPT
#define MIRA_SLEEP_NO_INTERRUPT |
( |
|
ms | ) |
|
Value:}
#define MIRA_SLEEP(ms)
Sleeps for ms milliseconds This is a thread interruption point - if interruption of the current threa...
Definition: Thread.h:95
Sleeps for ms milliseconds, thread interruption is disabled for this time (but not beyond).
◆ ThreadID
Platform independent thread ID.
The ID of the current thread can be obtained using the getCurrentThreadID() method.
◆ getCPUUsage()
Returns the CPU usage of the calling process in percent.