kernel: remove deprecated k_thread_cancel
Remove deprecated function k_thread_cancel. We now use k_thread_abort. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
3c9f1c9627
commit
c77c043071
2 changed files with 0 additions and 41 deletions
|
@ -853,21 +853,6 @@ __syscall void k_wakeup(k_tid_t thread);
|
|||
*/
|
||||
__syscall k_tid_t k_current_get(void);
|
||||
|
||||
/**
|
||||
* @brief Cancel thread performing a delayed start.
|
||||
*
|
||||
* This routine prevents @a thread from executing if it has not yet started
|
||||
* execution. The thread must be re-spawned before it will execute.
|
||||
*
|
||||
* @param thread ID of thread to cancel.
|
||||
*
|
||||
* @retval 0 Thread spawning canceled.
|
||||
* @retval -EINVAL Thread has already started executing.
|
||||
*
|
||||
* @deprecated This API is deprecated. Use k_thread_abort().
|
||||
*/
|
||||
__deprecated __syscall int k_thread_cancel(k_tid_t thread);
|
||||
|
||||
/**
|
||||
* @brief Abort a thread.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue