diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-07-19 12:22:31 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-07-19 12:22:31 +0000 |
commit | 84e044f176cee7c6946b24c36c90f63534b5b369 (patch) | |
tree | e8ca42b24b64273a7d1d6aa35f7aae07b1d6d39a /os/kernel/src/chmsg.c | |
parent | 4245ba7659ecdaadd47b0cdd61f3255b83f87d4f (diff) | |
download | ChibiOS-84e044f176cee7c6946b24c36c90f63534b5b369.tar.gz ChibiOS-84e044f176cee7c6946b24c36c90f63534b5b369.tar.bz2 ChibiOS-84e044f176cee7c6946b24c36c90f63534b5b369.zip |
Renamed Thread to thread_t.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@5995 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/src/chmsg.c')
-rw-r--r-- | os/kernel/src/chmsg.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/os/kernel/src/chmsg.c b/os/kernel/src/chmsg.c index d27713ef0..50e489915 100644 --- a/os/kernel/src/chmsg.c +++ b/os/kernel/src/chmsg.c @@ -40,7 +40,7 @@ * @pre In order to use the message APIs the @p CH_USE_MESSAGES option
* must be enabled in @p chconf.h.
* @post Enabling messages requires 6-12 (depending on the architecture)
- * extra bytes in the @p Thread structure.
+ * extra bytes in the @p thread_t structure.
* @{
*/
@@ -65,8 +65,8 @@ *
* @api
*/
-msg_t chMsgSend(Thread *tp, msg_t msg) {
- Thread *ctp = currp;
+msg_t chMsgSend(thread_t *tp, msg_t msg) {
+ thread_t *ctp = currp;
chDbgCheck(tp != NULL, "chMsgSend");
@@ -96,8 +96,8 @@ msg_t chMsgSend(Thread *tp, msg_t msg) { *
* @api
*/
-Thread *chMsgWait(void) {
- Thread *tp;
+thread_t *chMsgWait(void) {
+ thread_t *tp;
chSysLock();
if (!chMsgIsPendingI(currp))
@@ -118,7 +118,7 @@ Thread *chMsgWait(void) { *
* @api
*/
-void chMsgRelease(Thread *tp, msg_t msg) {
+void chMsgRelease(thread_t *tp, msg_t msg) {
chSysLock();
chDbgAssert(tp->p_state == THD_STATE_SNDMSG,
|