diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-09-24 12:28:07 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-09-24 12:28:07 +0000 |
commit | c9205e2fd961c60cffd1000936340806a8e45558 (patch) | |
tree | 17a2d7da8aa845a1db466985ec5cf53f8bfff389 /src/include/threads.h | |
parent | b72177007695129c089c58f65d05ae6178f604a3 (diff) | |
download | ChibiOS-c9205e2fd961c60cffd1000936340806a8e45558.tar.gz ChibiOS-c9205e2fd961c60cffd1000936340806a8e45558.tar.bz2 ChibiOS-c9205e2fd961c60cffd1000936340806a8e45558.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@442 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include/threads.h')
-rw-r--r-- | src/include/threads.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/threads.h b/src/include/threads.h index 822a9ab69..b2c7bfb1b 100644 --- a/src/include/threads.h +++ b/src/include/threads.h @@ -177,10 +177,14 @@ extern "C" { tprio_t prio, tfunc_t pf, void *arg); Thread *chThdCreateStatic(void *workspace, size_t wsize, tprio_t prio, tfunc_t pf, void *arg); +#if defined(CH_USE_DYNAMIC) && defined(CH_USE_WAITEXIT) && defined(CH_USE_HEAP) Thread *chThdCreateFromHeap(size_t wsize, tprio_t prio, tfunc_t pf, void *arg); +#endif +#if defined(CH_USE_DYNAMIC) && defined(CH_USE_WAITEXIT) && defined(CH_USE_MEMPOOLS) Thread *chThdCreateFromMemoryPool(MemoryPool *mp, tprio_t prio, tfunc_t pf, void *arg); +#endif Thread *chThdCreate(tprio_t prio, tmode_t mode, void *workspace, size_t wsize, tfunc_t pf, void *arg); Thread *chThdCreateFast(tprio_t prio, void *workspace, @@ -218,7 +222,6 @@ extern "C" { * Returns the exit event source for the specified thread. The source is * signaled when the thread terminates. * @param tp the pointer to the thread - * @deprecated * @note When registering on a thread termination make sure the thread * is still alive, if you do that after the thread termination * then you would miss the event. There are two ways to ensure |