diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-09-03 12:18:39 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-09-03 12:18:39 +0000 |
commit | 071e9457b0645f07a90485bd7a7c68fa5e34801b (patch) | |
tree | 913bcd56a5dc926e670581af78ca3e0c9cfce8fc /src/include | |
parent | d1ffba4de3c102f20a1985a7c5576a9627bd5287 (diff) | |
download | ChibiOS-071e9457b0645f07a90485bd7a7c68fa5e34801b.tar.gz ChibiOS-071e9457b0645f07a90485bd7a7c68fa5e34801b.tar.bz2 ChibiOS-071e9457b0645f07a90485bd7a7c68fa5e34801b.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@421 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/threads.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/include/threads.h b/src/include/threads.h index b74ba60b4..89acd9add 100644 --- a/src/include/threads.h +++ b/src/include/threads.h @@ -135,14 +135,10 @@ struct Thread { /** Thread state: After termination.*/ #define PREXIT 10 -#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 @@ -179,15 +175,9 @@ extern "C" { size_t wsize, tfunc_t pf); void chThdSetPriority(tprio_t newprio); void chThdExit(msg_t msg); -#ifdef CH_USE_RESUME void chThdResume(Thread *tp); -#endif -#ifdef CH_USE_SUSPEND void chThdSuspend(Thread **tpp); -#endif -#ifdef CH_USE_TERMINATE void chThdTerminate(Thread *tp); -#endif #ifdef CH_USE_WAITEXIT msg_t chThdWait(Thread *tp); #endif |