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:
Anas Nashif 2018-10-08 13:35:06 -04:00
commit c77c043071
2 changed files with 0 additions and 41 deletions

View file

@ -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.
*