Added flags clear for thread and new constructor for queue.

This commit is contained in:
dario
2023-11-07 12:40:50 +01:00
parent 0e96b2ec29
commit c609dc81cc
4 changed files with 28 additions and 0 deletions

View File

@@ -98,6 +98,13 @@ namespace sta
*/
uint32_t wait(uint32_t flags);
/**
* @brief Clears the thread flags set for this thread.
*
* @return Returns the thread flags that set before clearing.
*/
uint32_t clear(uint32_t flags);
/**
* @brief Send termination request to thread.
*/