* revert THREAD_EXT_EXIT and THREAD_EXT_INIT to previous naming conventions, matching the existing options in all the stable chconf.h files
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.0.x@2209 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
2b08694cd9
commit
76c49a42bb
|
@ -101,8 +101,8 @@ Thread *init_thread(Thread *tp, tprio_t prio) {
|
||||||
#if CH_USE_REGISTRY
|
#if CH_USE_REGISTRY
|
||||||
REG_INSERT(tp);
|
REG_INSERT(tp);
|
||||||
#endif
|
#endif
|
||||||
#if defined(THREAD_EXT_INIT_HOOK)
|
#if defined(THREAD_EXT_INIT)
|
||||||
THREAD_EXT_INIT_HOOK(tp);
|
THREAD_EXT_INIT(tp);
|
||||||
#endif
|
#endif
|
||||||
return tp;
|
return tp;
|
||||||
}
|
}
|
||||||
|
@ -391,8 +391,8 @@ void chThdExit(msg_t msg) {
|
||||||
|
|
||||||
chSysLock();
|
chSysLock();
|
||||||
tp->p_u.exitcode = msg;
|
tp->p_u.exitcode = msg;
|
||||||
#if defined(THREAD_EXT_EXIT_HOOK)
|
#if defined(THREAD_EXT_EXIT)
|
||||||
THREAD_EXT_EXIT_HOOK(tp);
|
THREAD_EXT_EXIT(tp);
|
||||||
#endif
|
#endif
|
||||||
#if CH_USE_WAITEXIT
|
#if CH_USE_WAITEXIT
|
||||||
while (notempty(&tp->p_waiting))
|
while (notempty(&tp->p_waiting))
|
||||||
|
|
Loading…
Reference in New Issue