diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-24 18:27:15 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-24 18:27:15 +0000 |
commit | 44f59eccabddb6e2470e72d1fdc844c3faa5e27c (patch) | |
tree | ee3ca3531cb7a6153b66db0c1165caf76b66a632 | |
parent | 8fa109243e5d626a941db8e7d6dc30bb64f9bc9f (diff) | |
download | ChibiOS-44f59eccabddb6e2470e72d1fdc844c3faa5e27c.tar.gz ChibiOS-44f59eccabddb6e2470e72d1fdc844c3faa5e27c.tar.bz2 ChibiOS-44f59eccabddb6e2470e72d1fdc844c3faa5e27c.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@676 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | src/include/scheduler.h | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/src/include/scheduler.h b/src/include/scheduler.h index 0549f217c..ac94183d9 100644 --- a/src/include/scheduler.h +++ b/src/include/scheduler.h @@ -25,25 +25,19 @@ #ifndef _SCHEDULER_H_ #define _SCHEDULER_H_ -/** Normal @p chSchReadyI() message. */ +/** Default thread wakeup low level message. */ #define RDY_OK 0 -/** Returned when the thread was made ready because of a timeout. */ +/** Low level message sent to a thread awakened by a timeout. */ #define RDY_TIMEOUT -1 -/** Returned when the thread was made ready because of a reset. */ +/** Low level message sent to a thread awakened by a reset operation. */ #define RDY_RESET -2 -/** Pseudo priority used by the ready list header, do not use.*/ -#define NOPRIO 0 -/** Idle thread priority.*/ -#define IDLEPRIO 1 -/** Lowest user priority.*/ -#define LOWPRIO 2 -/** Normal user priority.*/ -#define NORMALPRIO 64 -/** Highest user priority.*/ -#define HIGHPRIO 127 -/** Greatest possible priority.*/ -#define ABSPRIO 255 +#define NOPRIO 0 /**< Ready list header priority.*/ +#define IDLEPRIO 1 /**< Idle thread priority.*/ +#define LOWPRIO 2 /**< Lowest user priority.*/ +#define NORMALPRIO 64 /**< Normal user priority.*/ +#define HIGHPRIO 127 /**< Highest user priority.*/ +#define ABSPRIO 255 /**< Greatest possible priority.*/ /** Infinite time specification for all the syscalls with a timeout specification.*/ |