git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4486 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
09d733a314
commit
7d892ef699
|
@ -41,7 +41,7 @@
|
||||||
* If larger messages need to be exchanged then a pointer to a
|
* If larger messages need to be exchanged then a pointer to a
|
||||||
* structure can be posted in the mailbox but the posting side has
|
* structure can be posted in the mailbox but the posting side has
|
||||||
* no predefined way to know when the message has been processed. A
|
* no predefined way to know when the message has been processed. A
|
||||||
* possible approach is to allocate memory (from a memory pool as
|
* possible approach is to allocate memory (from a memory pool for
|
||||||
* example) from the posting side and free it on the fetching side.
|
* example) from the posting side and free it on the fetching side.
|
||||||
* Another approach is to set a "done" flag into the structure pointed
|
* Another approach is to set a "done" flag into the structure pointed
|
||||||
* by the message.
|
* by the message.
|
||||||
|
@ -346,7 +346,7 @@ msg_t chMBFetchS(Mailbox *mbp, msg_t *msgp, systime_t time) {
|
||||||
/**
|
/**
|
||||||
* @brief Retrieves a message from a mailbox.
|
* @brief Retrieves a message from a mailbox.
|
||||||
* @details This variant is non-blocking, the function returns a timeout
|
* @details This variant is non-blocking, the function returns a timeout
|
||||||
* condition if the queue is full.
|
* condition if the queue is empty.
|
||||||
*
|
*
|
||||||
* @param[in] mbp the pointer to an initialized Mailbox object
|
* @param[in] mbp the pointer to an initialized Mailbox object
|
||||||
* @param[out] msgp pointer to a message variable for the received message
|
* @param[out] msgp pointer to a message variable for the received message
|
||||||
|
|
Loading…
Reference in New Issue