ChibiOS 21.11.4
chmsg.h File Reference

Nil RTOS synchronous messages header file. More...

Go to the source code of this file.

Macros

Macro Functions
#define chMsgWaitS()
 Suspends the thread and waits for an incoming message.
#define chMsgGet(tp)
 Returns the message carried by the specified thread.
#define chMsgReleaseS(tp, msg)
 Releases the thread waiting on top of the messages queue.

Functions

msg_t chMsgSend (thread_t *tp, msg_t msg)
 Sends a message to the specified thread.
thread_tchMsgWait (void)
 Suspends the thread and waits for an incoming message.
thread_tchMsgWaitTimeout (sysinterval_t timeout)
 Suspends the thread and waits for an incoming message or a timeout to occur.
thread_tchMsgWaitTimeoutS (sysinterval_t timeout)
 Suspends the thread and waits for an incoming message or a timeout to occur.
void chMsgRelease (thread_t *tp, msg_t msg)
 Releases a sender thread specifying a response message.

Detailed Description

Nil RTOS synchronous messages header file.

Definition in file nil/include/chmsg.h.