From 077d372e2ffc959be1f13d23ee14d00a53589b4a Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 23 Jul 2008 10:38:16 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@349 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/chthreads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/chthreads.c') diff --git a/src/chthreads.c b/src/chthreads.c index 990b9bdba..02c2a7044 100644 --- a/src/chthreads.c +++ b/src/chthreads.c @@ -253,7 +253,7 @@ void chThdExit(msg_t msg) { chSchReadyI(list_remove(&currp->p_waiting)); #endif #ifdef CH_USE_EXIT_EVENT - chEvtSendI(&currp->p_exitesource); + chEvtBroadcastI(&currp->p_exitesource); #endif chSchGoSleepS(PREXIT); } -- cgit v1.2.3