Definition at line 65 of file Thread.h.
◆ affinity() [1/2]
Sets the processor affinity mask for the current thread.
◆ affinity() [2/2]
Sets the processor affinity mask for the current thread.
◆ id()
Gets the platform identifier for the current thread.
◆ policy()
void policy |
( |
int | policy | ) |
|
|
static |
Sets the scheduling policy for the current thread.
- Note
- This method also sets the priority to the minimal value for the new policy, therefore, the priority should be set to a necessary value afterwards.
◆ priority()
void priority |
( |
int | priority | ) |
|
|
static |
Sets the priority for the current thread.
◆ sleep()
void sleep |
( |
unsigned int | milliseconds | ) |
|
|
static |
Suspends the execution of the current thread for a given amount of time in milliseconds.
◆ spinWait()
void spinWait |
( |
int | microseconds | ) |
|
|
static |
Executes a singular instruction during the given number of microseconds.