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 | |
Thread (const char *name, void(*entry)(void *), void *arg=nullptr, uint32_t priority=0, size_t stacksize=0, ma_stack_t *stack=nullptr) noexcept | |
virtual | ~Thread () noexcept |
operator bool () const | |
bool | start (void *arg=nullptr) |
bool | stop () |
bool | join () |
bool | operator== (const Thread &other) const |
Static Public Member Functions | |
static void | sleep (ma_tick_t tick) |
static void | yield () |
static ma_thread_t * | self () |
static void | enterCritical () |
static void | exitCritical () |
Protected Member Functions | |
virtual void | threadEntryPoint (void) |
|
noexcept |
|
virtualnoexcept |
|
static |
|
static |
bool ma::Thread::join | ( | ) |
ma::Thread::operator bool | ( | ) | const |
bool ma::Thread::operator== | ( | const Thread & | other | ) | const |
|
static |
|
static |
bool ma::Thread::start | ( | void * | arg = nullptr | ) |
bool ma::Thread::stop | ( | ) |
|
protectedvirtual |
|
static |