SSCMA-Micro CPP SDK
v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
|
#include <ma_osal.h>
Public Member Functions | |
Semaphore (size_t count=0) noexcept | |
~Semaphore () noexcept | |
operator bool () const | |
bool | wait (ma_tick_t timeout=Tick::waitForever) |
uint32_t | getCount () const |
void | signal () |
|
explicitnoexcept |
|
noexcept |
uint32_t ma::Semaphore::getCount | ( | ) | const |
ma::Semaphore::operator bool | ( | ) | const |
void ma::Semaphore::signal | ( | ) |
bool ma::Semaphore::wait | ( | ma_tick_t | timeout = Tick::waitForever | ) |