|
VEX IQ C++ API
|
Functions | |
| int32_t | get_id () |
| Gets the ID of the thread. More... | |
| void | yield () |
| Suspends the current thread. More... | |
| void | sleep_for (uint32_t time_ms) |
| sleep_for More... | |
| void | sleep_until (uint32_t time) |
| sleep_until More... | |
| int32_t vex::this_thread::get_id | ( | ) |
Gets the ID of the thread.
| void vex::this_thread::yield | ( | ) |
Suspends the current thread.
| void vex::this_thread::sleep_for | ( | uint32_t | time_ms | ) |
sleep_for
Suspends the current thread until the time is expired in milliseconds.
| time_ms | The amount of time for the thread to sleep. |
| void vex::this_thread::sleep_until | ( | uint32_t | time | ) |
sleep_until
Sleeps until the system timer reaches the time specified in the parameter.
| time | The amount of time for the thread to sleep. |
1.8.15