|
coastline 0.0.4
|
A message queue: a ring of messages and the threads blocked sending or receiving. More...
#include <os.h>

Public Attributes | |
| OSThread * | mtqueue |
| OSThread * | fullqueue |
| s32 | validCount |
| s32 | first |
| s32 | msgCount |
| OSMesg * | msg |
A message queue: a ring of messages and the threads blocked sending or receiving.
| OSThread* OSMesgQueue_s::mtqueue |
The threads blocked receiving from the empty queue.
| OSThread* OSMesgQueue_s::fullqueue |
The threads blocked sending to the full queue.
| s32 OSMesgQueue_s::validCount |
The number of messages in the queue.
| s32 OSMesgQueue_s::first |
The index in msg of the first message.
| s32 OSMesgQueue_s::msgCount |
The capacity of the buffer in messages.
| OSMesg* OSMesgQueue_s::msg |
The circular buffer of messages.