muteki
Loading...
Searching...
No Matches
threading_waitable_t Struct Reference

Common data structure for waitables. More...

#include <threading.h>

Data Fields

unsigned char active_bytes
 
unsigned char waiting_by [8]
 

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

◆ active_bytes

unsigned char threading_waitable_t::active_bytes

Bitfield that indicates which waiting_by bytes are currently active.

◆ waiting_by

unsigned char threading_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: