* 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
|
||||
REG_INSERT(tp);
|
||||
#endif
|
||||
#if defined(THREAD_EXT_INIT_HOOK)
|
||||
THREAD_EXT_INIT_HOOK(tp);
|
||||
#if defined(THREAD_EXT_INIT)
|
||||
THREAD_EXT_INIT(tp);
|
||||
#endif
|
||||
return tp;
|
||||
}
|
||||
|
@ -391,8 +391,8 @@ void chThdExit(msg_t msg) {
|
|||
|
||||
chSysLock();
|
||||
tp->p_u.exitcode = msg;
|
||||
#if defined(THREAD_EXT_EXIT_HOOK)
|
||||
THREAD_EXT_EXIT_HOOK(tp);
|
||||
#if defined(THREAD_EXT_EXIT)
|
||||
THREAD_EXT_EXIT(tp);
|
||||
#endif
|
||||
#if CH_USE_WAITEXIT
|
||||
while (notempty(&tp->p_waiting))
|
||||
|
|
Loading…
Reference in New Issue