aboutsummaryrefslogtreecommitdiffstats
path: root/src/chthreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chthreads.c')
-rw-r--r--src/chthreads.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/chthreads.c b/src/chthreads.c
index 2069fe389..a936fb6dc 100644
--- a/src/chthreads.c
+++ b/src/chthreads.c
@@ -50,6 +50,9 @@ void init_thread(tprio_t prio, tmode_t mode, Thread *tp) {
#ifdef CH_USE_EXIT_EVENT
chEvtInit(&tp->p_exitesource);
#endif
+#ifdef CH_USE_THREAD_EXT
+ THREAD_EXT_INIT(tp);
+#endif
}
#ifdef CH_USE_DEBUG