ChibiOS/NIL  4.1.0
mailbox_t Struct Reference

Structure representing a mailbox object. More...

#include <chmboxes.h>

Collaboration diagram for mailbox_t:
Collaboration graph

Data Fields

msg_tbuffer
 Pointer to the mailbox buffer.
More...
 
msg_ttop
 Pointer to the location after the buffer.
More...
 
msg_twrptr
 Write pointer.
More...
 
msg_trdptr
 Read pointer.
More...
 
size_t cnt
 Messages in queue.
More...
 
bool reset
 True in reset state.
More...
 
threads_queue_t qw
 Queued writers.
More...
 
threads_queue_t qr
 Queued readers.
More...
 

Detailed Description

Structure representing a mailbox object.

Definition at line 52 of file chmboxes.h.

Field Documentation

◆ buffer

msg_t* mailbox_t::buffer

◆ top

msg_t* mailbox_t::top

Pointer to the location after the buffer.

Definition at line 55 of file chmboxes.h.

Referenced by chMBFetchI(), chMBFetchTimeoutS(), chMBGetSizeI(), chMBObjectInit(), chMBPostAheadI(), chMBPostAheadTimeoutS(), chMBPostI(), and chMBPostTimeoutS().

◆ wrptr

msg_t* mailbox_t::wrptr

Write pointer.

Definition at line 57 of file chmboxes.h.

Referenced by chMBObjectInit(), chMBPostI(), chMBPostTimeoutS(), and chMBResetI().

◆ rdptr

msg_t* mailbox_t::rdptr

◆ cnt

size_t mailbox_t::cnt

◆ reset

bool mailbox_t::reset

◆ qw

threads_queue_t mailbox_t::qw

Queued writers.

Definition at line 61 of file chmboxes.h.

Referenced by chMBFetchI(), chMBFetchTimeoutS(), chMBObjectInit(), chMBPostAheadTimeoutS(), chMBPostTimeoutS(), and chMBResetI().

◆ qr