aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/threads.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-12-07 12:01:57 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-12-07 12:01:57 +0000
commite06b155baa31443e76650d4c6aaca960af9f0051 (patch)
treefd9377989a30293eb1ac0ff0f34a6fcf4d64f9b0 /src/include/threads.h
parentdae3de6609b9251dbaaa280c1ce886a350c3c0c5 (diff)
downloadChibiOS-e06b155baa31443e76650d4c6aaca960af9f0051.tar.gz
ChibiOS-e06b155baa31443e76650d4c6aaca960af9f0051.tar.bz2
ChibiOS-e06b155baa31443e76650d4c6aaca960af9f0051.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@537 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include/threads.h')
-rw-r--r--src/include/threads.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/include/threads.h b/src/include/threads.h
index 959a48b0e..b939ba3a1 100644
--- a/src/include/threads.h
+++ b/src/include/threads.h
@@ -122,32 +122,32 @@ struct Thread {
};
/** Thread state: Ready to run, waiting on the ready list.*/
-#define PRREADY 0
+#define PRREADY 0
/** Thread state: Currently running. */
-#define PRCURR 1
+#define PRCURR 1
/** Thread state: Thread created in suspended state. */
-#define PRSUSPENDED 2
+#define PRSUSPENDED 2
/** Thread state: Waiting on a semaphore. */
-#define PRWTSEM 3
+#define PRWTSEM 3
/** Thread state: Waiting on a mutex. */
-#define PRWTMTX 4
+#define PRWTMTX 4
/** Thread state: Waiting in \p chThdSleep() or \p chThdSleepUntil(). */
-#define PRWTCOND 5
+#define PRWTCOND 5
/** Thread state: Waiting in \p chCondWait(). */
-#define PRSLEEP 6
+#define PRSLEEP 6
/** Thread state: Waiting in \p chThdWait(). */
-#define PRWAIT 7
+#define PRWAIT 7
/** Thread state: Waiting in \p chEvtWaitOneTimeout() or
\p chEvtWaitAnyTimeout(). */
-#define PRWTOREVT 8
+#define PRWTOREVT 8
/** Thread state: Waiting in \p chEvtWaitAllTimeout(). */
-#define PRWTANDEVT 9
+#define PRWTANDEVT 9
/** Thread state: Waiting in \p chMsgSend(). */
-#define PRSNDMSG 10
+#define PRSNDMSG 10
/** Thread state: Waiting in \p chMsgWait(). */
-#define PRWTMSG 11
+#define PRWTMSG 11
/** Thread state: After termination.*/
-#define PREXIT 12
+#define PREXIT 12
/*
* Various flags into the thread p_flags field.