unified: Remove k_thread_abort_handler() support
The new kernel doesn't support the thread abort handler concept, so only the legacy API for this capability is needed. Change-Id: Ie809092e73b784504c3d298911d216bed8dd8993 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
parent
749d153afa
commit
e262615280
3 changed files with 4 additions and 3 deletions
|
@ -50,7 +50,9 @@ void k_thread_abort(k_tid_t thread)
|
|||
}
|
||||
#endif
|
||||
|
||||
void k_thread_abort_handler_set(void (*func)(void))
|
||||
/* legacy API */
|
||||
|
||||
void task_abort_handler_set(void (*func)(void))
|
||||
{
|
||||
_current->fn_abort = func;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue