aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/oslib/include/chdynamic.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/common/oslib/include/chdynamic.h')
-rw-r--r--os/common/oslib/include/chdynamic.h2
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
}