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

Public Member Functions

 stk_sem_t (uint32_t initial_count, uint32_t max_count)

Public Attributes

Semaphore handle

Detailed Description

Constructor & Destructor Documentation

◆ stk_sem_t()

stk_sem_t::stk_sem_t ( uint32_t initial_count,
uint32_t max_count )
inline

Definition at line 234 of file stk_c_sync.cpp.

235 : handle(static_cast<uint16_t>(initial_count),
236 static_cast<uint16_t>(max_count))
237 {}
Semaphore handle

References handle.

Member Data Documentation

◆ handle

Semaphore stk_sem_t::handle

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