|
muteki
|
Common data structure for waitables. More...
#include <threading.h>
Data Fields | |
| unsigned char | active_bytes |
| unsigned char | waiting_by [8] |
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.
| unsigned char threading_waitable_t::active_bytes |
Bitfield that indicates which waiting_by bytes are currently active.
| 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