theCore C++ embedded framework
|
Functions | |
void | yield () |
Yields current thread. More... | |
void | sleep_for (uint32_t ms) |
Put task at sleep for given amount of milliseconds. More... | |
thread_handle | get_handle () |
Gets a thread handle of currently running thread. More... | |
void ecl::this_thread::yield | ( | ) |
Yields current thread.
As for FreeRTOS whether current task will be rescheduled or not depends on FreeRTOS configuration.
|
inline |
Put task at sleep for given amount of milliseconds.
[in] | ms | Milliseconds to sleep. |
ecl::thread_handle ecl::this_thread::get_handle | ( | ) |
Gets a thread handle of currently running thread.