30#if (CH_CFG_USE_MESSAGES == TRUE) || defined(__DOXYGEN__)
72#define chMsgWaitS() chMsgWaitTimeoutS(TIME_INFINITE)
84#define chMsgGet(tp) ((tp)->sntmsg)
96#define chMsgReleaseS(tp, msg) do { \
97 (void) chSchReadyI(tp, msg); \
thread_t * chMsgWaitTimeoutS(sysinterval_t timeout)
Suspends the thread and waits for an incoming message or a timeout to occur.
static thread_t * chMsgWait(void)
Suspends the thread and waits for an incoming message.
msg_t chMsgSend(thread_t *tp, msg_t msg)
Sends a message to the specified thread.
void chMsgRelease(thread_t *tp, msg_t msg)
Releases a sender thread specifying a response message.
static thread_t * chMsgWaitTimeout(sysinterval_t timeout)
Suspends the thread and waits for an incoming message or a timeout to occur.
struct ch_thread thread_t
Type of a thread structure.
uint64_t sysinterval_t
Type of time interval.