mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-08-06 19:17:34 +00:00
Updated id handling for mutex and signal, sleep() for thread.
This commit is contained in:
@@ -74,6 +74,14 @@ namespace sta
|
||||
*/
|
||||
RtosThread(const Handle & handle);
|
||||
|
||||
/**
|
||||
* @brief Sets the thread to BLOCKED for a given number of ticks.
|
||||
* Other threads can run in the meantime.
|
||||
*
|
||||
* @param ticks The number of ticks before setting the thread to READY again.
|
||||
*/
|
||||
void sleep(uint32_t ticks);
|
||||
|
||||
/**
|
||||
* @brief Send user notification flags to thread.
|
||||
*
|
||||
|
Reference in New Issue
Block a user