aboutsummaryrefslogtreecommitdiffstats
path: root/src/chthreads.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-07-23 10:38:16 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-07-23 10:38:16 +0000
commit077d372e2ffc959be1f13d23ee14d00a53589b4a (patch)
treeed13caefb991ae693201440cb75856e93699a40a /src/chthreads.c
parent65961139301315ba0507a07c607e961b1c40a5ae (diff)
downloadChibiOS-077d372e2ffc959be1f13d23ee14d00a53589b4a.tar.gz
ChibiOS-077d372e2ffc959be1f13d23ee14d00a53589b4a.tar.bz2
ChibiOS-077d372e2ffc959be1f13d23ee14d00a53589b4a.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@349 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chthreads.c')
-rw-r--r--src/chthreads.c2
1 files changed, 1 insertions, 1 deletions
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);
}