SuperTinyKernel™ RTOS 1.06.0
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
StkSemaphore Struct Reference
Collaboration diagram for StkSemaphore:

Public Member Functions

 StkSemaphore (uint16_t initial, uint16_t max_count, const char *n=nullptr)

Public Attributes

stk::sync::Semaphore m_semaphore
bool m_cb_owned

Detailed Description

Definition at line 263 of file cmsis_os2_stk.cpp.

Constructor & Destructor Documentation

◆ StkSemaphore()

StkSemaphore::StkSemaphore ( uint16_t initial,
uint16_t max_count,
const char * n = nullptr )
inlineexplicit

Definition at line 265 of file cmsis_os2_stk.cpp.

References m_cb_owned, and m_semaphore.

Member Data Documentation

◆ m_cb_owned

bool StkSemaphore::m_cb_owned

Definition at line 273 of file cmsis_os2_stk.cpp.

Referenced by StkSemaphore().

◆ m_semaphore

stk::sync::Semaphore StkSemaphore::m_semaphore

Definition at line 272 of file cmsis_os2_stk.cpp.

Referenced by osSemaphoreAcquire(), osSemaphoreGetCount(), and StkSemaphore().


The documentation for this struct was generated from the following file: