Muteki
EABI code execution on Besta® RTOS devices.
Loading...
Searching...
No Matches
bxc_waitable_t Struct Reference

Common data structure for waitables. More...

#include <threading.h>

Data Fields

unsigned char active_bytes
 Bitfield that indicates which waiting_by bytes are currently active.
unsigned char waiting_by [8]
 Bitfield that tracks threads that are waiting for this waitable.

Detailed Description

Common data structure for waitables.

Once requested, waitables are able to let a currently running thread to pause execution and wait for a specific event to happen. This is pretty much the same as event group and event table in uC/OS-II.

Field Documentation

◆ waiting_by

unsigned char bxc_waitable_t::waiting_by[8]

Bitfield that tracks threads that are waiting for this waitable.

Indexed by byte offset * 8 + bit offset


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