os_port_posix.c
bool_t osCreateSemaphore(OsSemaphore *semaphore, uint_t count)
Create a semaphore object.
Definition: os_port_posix.c:331
OsTaskId osCreateTask(const char_t *name, OsTaskCode taskCode, void *arg, const OsTaskParameters *params)
Create a task.
Definition: os_port_posix.c:81
bool_t osWaitForSemaphore(OsSemaphore *semaphore, systime_t timeout)
Wait for the specified semaphore to be available.
Definition: os_port_posix.c:370
bool_t osSetEventFromIsr(OsEvent *event)
Set an event object to the signaled state from an interrupt service routine.
Definition: os_port_posix.c:315
void osResetEvent(OsEvent *event)
Set the specified event object to the nonsignaled state.
Definition: os_port_posix.c:225
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_posix.c:203
__weak_func void osFreeMem(void *p)
Release a previously allocated memory block.
Definition: os_port_posix.c:528
void osReleaseMutex(OsMutex *mutex)
Release ownership of the specified mutex object.
Definition: os_port_posix.c:485
void osReleaseSemaphore(OsSemaphore *semaphore)
Release the specified semaphore object.
Definition: os_port_posix.c:423
void osAcquireMutex(OsMutex *mutex)
Acquire ownership of the specified mutex object.
Definition: os_port_posix.c:473
void osDeleteSemaphore(OsSemaphore *semaphore)
Delete a semaphore object.
Definition: os_port_posix.c:355
RTOS abstraction layer (POSIX Threads)
bool_t osWaitForEvent(OsEvent *event, systime_t timeout)
Wait until the specified event is in the signaled state.
Definition: os_port_posix.c:248
RTOS abstraction layer.
Debugging facilities.