git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8966 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
ad24da6872
commit
f7d87c07a3
|
@ -137,7 +137,7 @@ osStatus osThreadTerminate(osThreadId thread_id) {
|
||||||
implemented using the registry.*/
|
implemented using the registry.*/
|
||||||
chThdExit(0);
|
chThdExit(0);
|
||||||
}
|
}
|
||||||
chEvtSignal((thread_t *)thread_id, CH_EVENT_TERMINATE);
|
chThdTerminate(thread_id);
|
||||||
chThdWait((thread_t *)thread_id);
|
chThdWait((thread_t *)thread_id);
|
||||||
|
|
||||||
return osOK;
|
return osOK;
|
||||||
|
|
Loading…
Reference in New Issue