bsp,am,integrate-am-apps: destroy thread when calling halt()
This commit is contained in:
parent
dea61ce9d9
commit
6761ddf7f8
2 changed files with 18 additions and 1 deletions
|
@ -1160,4 +1160,9 @@ rt_err_t rt_thread_get_name(rt_thread_t thread, char *name, rt_uint8_t name_size
|
|||
}
|
||||
RTM_EXPORT(rt_thread_get_name);
|
||||
|
||||
void rt_thread_exit(void) {
|
||||
_thread_exit();
|
||||
}
|
||||
RTM_EXPORT(rt_thread_exit);
|
||||
|
||||
/**@}*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue