git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4443 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2012-07-08 15:45:46 +00:00
parent 0d474a24f2
commit 343fe990e4
2 changed files with 1 additions and 12 deletions

View File

@ -55,18 +55,6 @@
*/ */
#define chMsgGet(tp) ((tp)->p_msg) #define chMsgGet(tp) ((tp)->p_msg)
/**
* @brief Returns the message carried by the specified thread.
* @pre This function must be invoked immediately after exiting a call
* to @p chMsgWait().
*
* @param[in] tp pointer to the thread
* @return The message carried by the sender.
*
* @sclass
*/
#define chMsgGetS(tp) ((tp)->p_msg)
/** /**
* @brief Releases the thread waiting on top of the messages queue. * @brief Releases the thread waiting on top of the messages queue.
* @pre Invoke this function only after a message has been received * @pre Invoke this function only after a message has been received

View File

@ -251,6 +251,7 @@
- CHANGE: Removed the chioch.h header from the kernel, now channels interface - CHANGE: Removed the chioch.h header from the kernel, now channels interface
is exported by the HAL. Removed functions chPutWouldBlock() and is exported by the HAL. Removed functions chPutWouldBlock() and
chGetWouldBlock(). chGetWouldBlock().
- CHANGE: Removed macro chMsgGetS(), chMsgGet() is still available.
- CHANGE: chprintf() now takes a BaseSequentialStream as parameter instead - CHANGE: chprintf() now takes a BaseSequentialStream as parameter instead
of a BaseChannel making it more generic. of a BaseChannel making it more generic.
- CHANGE: Now the shell requires a BaseSequentialStream instead of a - CHANGE: Now the shell requires a BaseSequentialStream instead of a