ChibiOS/RT  5.1.0
chmboxes.c File Reference

Mailboxes code. More...

#include "ch.h"

Go to the source code of this file.

Functions

void chMBObjectInit (mailbox_t *mbp, msg_t *buf, size_t n)
 Initializes a mailbox_t object. More...
 
void chMBReset (mailbox_t *mbp)
 Resets a mailbox_t object. More...
 
void chMBResetI (mailbox_t *mbp)
 Resets a mailbox_t object. More...
 
msg_t chMBPostTimeout (mailbox_t *mbp, msg_t msg, sysinterval_t timeout)
 Posts a message into a mailbox. More...
 
msg_t chMBPostTimeoutS (mailbox_t *mbp, msg_t msg, sysinterval_t timeout)
 Posts a message into a mailbox. More...
 
msg_t chMBPostI (mailbox_t *mbp, msg_t msg)
 Posts a message into a mailbox. More...
 
msg_t chMBPostAheadTimeout (mailbox_t *mbp, msg_t msg, sysinterval_t timeout)
 Posts an high priority message into a mailbox. More...
 
msg_t chMBPostAheadTimeoutS (mailbox_t *mbp, msg_t msg, sysinterval_t timeout)
 Posts an high priority message into a mailbox. More...
 
msg_t chMBPostAheadI (mailbox_t *mbp, msg_t msg)
 Posts an high priority message into a mailbox. More...
 
msg_t chMBFetchTimeout (mailbox_t *mbp, msg_t *msgp, sysinterval_t timeout)
 Retrieves a message from a mailbox. More...
 
msg_t chMBFetchTimeoutS (mailbox_t *mbp, msg_t *msgp, sysinterval_t timeout)
 Retrieves a message from a mailbox. More...
 
msg_t chMBFetchI (mailbox_t *mbp, msg_t *msgp)
 Retrieves a message from a mailbox. More...
 

Detailed Description

Mailboxes code.

Definition in file chmboxes.c.