aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/chthreads.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-03-04 11:10:13 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-03-04 11:10:13 +0000
commitb02624bbb051454f767f56ce4c91c815172f64be (patch)
tree116eb2ebd4ba728659cb2d8d02806e58c9a9c448 /os/rt/include/chthreads.h
parentc1783a234bc6e6f4f3443a11e4da4dc70a7867b5 (diff)
downloadChibiOS-b02624bbb051454f767f56ce4c91c815172f64be.tar.gz
ChibiOS-b02624bbb051454f767f56ce4c91c815172f64be.tar.bz2
ChibiOS-b02624bbb051454f767f56ce4c91c815172f64be.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9008 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/chthreads.h')
-rw-r--r--os/rt/include/chthreads.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/rt/include/chthreads.h b/os/rt/include/chthreads.h
index 2832051e9..6ddfef997 100644
--- a/os/rt/include/chthreads.h
+++ b/os/rt/include/chthreads.h
@@ -181,8 +181,10 @@ extern "C" {
thread_t *chThdCreateStatic(void *wsp, size_t size,
tprio_t prio, tfunc_t pf, void *arg);
thread_t *chThdStart(thread_t *tp);
+#if CH_CFG_USE_REGISTRY == TRUE
thread_t *chThdAddRef(thread_t *tp);
void chThdRelease(thread_t *tp);
+#endif
void chThdExit(msg_t msg);
void chThdExitS(msg_t msg);
#if CH_CFG_USE_WAITEXIT == TRUE