diff options
Diffstat (limited to 'firmware/kernel/pthread/thread.c')
| -rw-r--r-- | firmware/kernel/pthread/thread.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/firmware/kernel/pthread/thread.c b/firmware/kernel/pthread/thread.c index a80ce87..354a946 100644 --- a/firmware/kernel/pthread/thread.c +++ b/firmware/kernel/pthread/thread.c @@ -194,23 +194,6 @@ static void remove_from_list_l(struct thread_entry **list, thread->l.next->l.prev = thread->l.prev; } -unsigned int thread_queue_wake(struct thread_entry **list) -{ - unsigned int result = THREAD_NONE; - - for (;;) - { - unsigned int rc = wakeup_thread(list); - - if (rc == THREAD_NONE) - break; - - result |= rc; - } - - return result; -} - /* for block_thread(), _w_tmp() and wakeup_thread() t->lock must point * to a corelock instance, and this corelock must be held by the caller */ void block_thread_switch(struct thread_entry *t, struct corelock *cl) |