mirror of https://github.com/rusefi/ChibiOS.git
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@167 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
b1db8a9f7f
commit
7c184cf08e
|
@ -110,7 +110,7 @@
|
|||
/** Configuration option: If enabled then the threads have an option to serve
|
||||
* messages by priority instead of FIFO order.
|
||||
* @note requires \p CH_USE_MESSAGES.*/
|
||||
#define CH_USE_MESSAGES_PRIORITY
|
||||
//#define CH_USE_MESSAGES_PRIORITY
|
||||
|
||||
/** Configuration option: if specified then the
|
||||
* \p chThdGetExitEventSource() function is included in the kernel.
|
||||
|
|
|
@ -131,12 +131,18 @@ struct Thread {
|
|||
/** Thread state: After termination.*/
|
||||
#define PREXIT 11
|
||||
|
||||
#ifdef CH_USE_TERMINATE
|
||||
/** Thread option: Termination requested flag.*/
|
||||
#define P_TERMINATE 1
|
||||
#endif
|
||||
#ifdef CH_USE_RESUME
|
||||
/** Thread option: Create suspended thread.*/
|
||||
#define P_SUSPENDED 2
|
||||
#endif
|
||||
#ifdef CH_USE_MESSAGES_PRIORITY
|
||||
/** Thread option: Serve messages by priority instead of FIFO order.*/
|
||||
#define P_MSGBYPRIO 4
|
||||
#endif
|
||||
|
||||
/** Pseudo priority used by the ready list header, do not use.*/
|
||||
#define NOPRIO 0
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
/** Configuration option: If enabled then the threads have an option to serve
|
||||
* messages by priority instead of FIFO order.
|
||||
* @note requires \p CH_USE_MESSAGES.*/
|
||||
#define CH_USE_MESSAGES_PRIORITY
|
||||
//#define CH_USE_MESSAGES_PRIORITY
|
||||
|
||||
/** Configuration option: if specified then the
|
||||
* \p chThdGetExitEventSource() function is included in the kernel.
|
||||
|
|
Loading…
Reference in New Issue