mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-07 18:02:15 +08:00
[components/libc/compilers/armlibc]_sys_exit增加RT_WEAK限定,由具体bsp重新实现,通常需要关闭中断,关闭IO输出等
This commit is contained in:
@@ -251,7 +251,7 @@ void _ttywrch(int ch)
|
||||
#endif
|
||||
}
|
||||
|
||||
void _sys_exit(int return_code)
|
||||
RT_WEAK void _sys_exit(int return_code)
|
||||
{
|
||||
/* TODO: perhaps exit the thread which is invoking this function */
|
||||
while (1);
|
||||
|
||||
Reference in New Issue
Block a user