unified: un-comment k_thread_[suspend|resume|abort_handler_set]
They are now available. Change-Id: Iae15636396fdf4d5da96f6735345857d83cd3d51 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
02e59e199e
commit
71d5228ca9
1 changed files with 3 additions and 4 deletions
|
@ -213,13 +213,12 @@ struct _static_thread_data {
|
|||
/* extern int k_thread_prio_get(k_tid_t thread); in sched.h */
|
||||
extern void k_thread_priority_set(k_tid_t thread, int prio);
|
||||
|
||||
extern void k_thread_suspend(k_tid_t thread);
|
||||
extern void k_thread_resume(k_tid_t thread);
|
||||
extern void k_thread_abort_handler_set(void (*handler)(void));
|
||||
#if 0
|
||||
extern int k_thread_suspend(k_tid_t thread);
|
||||
extern int k_thread_resume(k_tid_t thread);
|
||||
extern int k_thread_entry_set(k_tid_t thread,
|
||||
void (*entry)(void*, void*, void*);
|
||||
extern int k_thread_abort_handler_set(k_tid_t thread,
|
||||
void (*handler)(void));
|
||||
#endif
|
||||
|
||||
extern void k_sched_time_slice_set(int32_t slice, int prio);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue