ChibiOS
21.6.0
|
Nil RTOS synchronous messages header file. More...
Go to the source code of this file.
Macros | |
Macro Functions | |
#define | chMsgWaitS() chMsgWaitTimeoutS(TIME_INFINITE) |
Suspends the thread and waits for an incoming message. More... | |
#define | chMsgGet(tp) ((tp)->sntmsg) |
Returns the message carried by the specified thread. More... | |
#define | chMsgReleaseS(tp, msg) |
Releases the thread waiting on top of the messages queue. More... | |
Functions | |
msg_t | chMsgSend (thread_t *tp, msg_t msg) |
Sends a message to the specified thread. More... | |
thread_t * | chMsgWait (void) |
Suspends the thread and waits for an incoming message. More... | |
thread_t * | chMsgWaitTimeout (sysinterval_t timeout) |
Suspends the thread and waits for an incoming message or a timeout to occur. More... | |
thread_t * | chMsgWaitTimeoutS (sysinterval_t timeout) |
Suspends the thread and waits for an incoming message or a timeout to occur. More... | |
void | chMsgRelease (thread_t *tp, msg_t msg) |
Releases a sender thread specifying a response message. More... | |
Nil RTOS synchronous messages header file.
Definition in file nil/include/chmsg.h.