diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-02-20 13:51:02 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-02-20 13:51:02 +0000 |
commit | 27e1398be3821f814aee4eaf7627b2d8fb5c4934 (patch) | |
tree | 6a21849d04864f2c5d0b231862c3641aa2aa0773 /os/common/oslib/include/chdynamic.h | |
parent | 4f3674f5f22d41dd58a6ea51d3a5fed89ef1990b (diff) | |
download | ChibiOS-27e1398be3821f814aee4eaf7627b2d8fb5c4934.tar.gz ChibiOS-27e1398be3821f814aee4eaf7627b2d8fb5c4934.tar.bz2 ChibiOS-27e1398be3821f814aee4eaf7627b2d8fb5c4934.zip |
Shell reorganization.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8913 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/oslib/include/chdynamic.h')
-rw-r--r-- | os/common/oslib/include/chdynamic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/common/oslib/include/chdynamic.h b/os/common/oslib/include/chdynamic.h index fa00bd83e..35b47cd93 100644 --- a/os/common/oslib/include/chdynamic.h +++ b/os/common/oslib/include/chdynamic.h @@ -74,10 +74,12 @@ extern "C" { #if CH_CFG_USE_HEAP == TRUE
thread_t *chThdCreateFromHeap(memory_heap_t *heapp, size_t size,
tprio_t prio, tfunc_t pf, void *arg);
+ void chThdFreeToHeap(thread_t *tp);
#endif
#if CH_CFG_USE_MEMPOOLS == TRUE
thread_t *chThdCreateFromMemoryPool(memory_pool_t *mp, tprio_t prio,
tfunc_t pf, void *arg);
+ void chThdFreeToMemoryPool(thread_t *tp, memory_pool_t *mp);
#endif
#ifdef __cplusplus
}
|