mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-08-06 11:07:34 +00:00
Added method for reading thread flags
This commit is contained in:
@@ -32,6 +32,12 @@ namespace sta
|
||||
osThreadFlagsSet(handle_.get(), flags);
|
||||
}
|
||||
|
||||
uint32_t RtosThread::getFlags()
|
||||
{
|
||||
STA_ASSERT(handle_.get() != nullptr);
|
||||
|
||||
return osThreadFlagsGet();
|
||||
}
|
||||
|
||||
void RtosThread::requestTermination()
|
||||
{
|
||||
|
Reference in New Issue
Block a user