coastline 0.0.4
Loading...
Searching...
No Matches
OSMesgQueue_s Struct Reference

A message queue: a ring of messages and the threads blocked sending or receiving. More...

#include <os.h>

Collaboration diagram for OSMesgQueue_s:

Public Attributes

OSThread * mtqueue
OSThread * fullqueue
s32 validCount
s32 first
s32 msgCount
OSMesg * msg

Detailed Description

A message queue: a ring of messages and the threads blocked sending or receiving.

Member Data Documentation

◆ mtqueue

OSThread* OSMesgQueue_s::mtqueue

The threads blocked receiving from the empty queue.

◆ fullqueue

OSThread* OSMesgQueue_s::fullqueue

The threads blocked sending to the full queue.

◆ validCount

s32 OSMesgQueue_s::validCount

The number of messages in the queue.

◆ first

s32 OSMesgQueue_s::first

The index in msg of the first message.

◆ msgCount

s32 OSMesgQueue_s::msgCount

The capacity of the buffer in messages.

◆ msg

OSMesg* OSMesgQueue_s::msg

The circular buffer of messages.


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