kernel: Change _reschedule signature
_reschedule return's value is not used anywhere, except erroneously by pthread_barrier_wait. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
abffd83d26
commit
98c64b6d92
4 changed files with 11 additions and 6 deletions
|
@ -38,7 +38,7 @@ int _is_thread_time_slicing(struct k_thread *thread);
|
|||
void _unpend_thread_no_timeout(struct k_thread *thread);
|
||||
int _pend_current_thread(int key, _wait_q_t *wait_q, s32_t timeout);
|
||||
void _pend_thread(struct k_thread *thread, _wait_q_t *wait_q, s32_t timeout);
|
||||
int _reschedule(int key);
|
||||
void _reschedule(int key);
|
||||
struct k_thread *_unpend_first_thread(_wait_q_t *wait_q);
|
||||
void _unpend_thread(struct k_thread *thread);
|
||||
int _unpend_all(_wait_q_t *wait_q);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue