Fixed bug 3411207
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3360 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
0886cac049
commit
5a3a608ad9
|
@ -353,6 +353,7 @@ void chThdExit(msg_t msg) {
|
|||
REG_REMOVE(tp);
|
||||
#endif
|
||||
chSchGoSleepS(THD_STATE_FINAL);
|
||||
chSysUnlock();
|
||||
}
|
||||
|
||||
#if CH_USE_WAITEXIT || defined(__DOXYGEN__)
|
||||
|
|
|
@ -206,6 +206,7 @@ static msg_t shell_thread(void *p) {
|
|||
}
|
||||
chSysLock();
|
||||
chEvtBroadcastI(&shell_terminated);
|
||||
chSysUnlock();
|
||||
return msg;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue