diff options
Diffstat (limited to 'firmware/kernel/pthread')
-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 a80ce876e8..354a946698 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, | |||
194 | thread->l.next->l.prev = thread->l.prev; | 194 | thread->l.next->l.prev = thread->l.prev; |
195 | } | 195 | } |
196 | 196 | ||
197 | unsigned int thread_queue_wake(struct thread_entry **list) | ||
198 | { | ||
199 | unsigned int result = THREAD_NONE; | ||
200 | |||
201 | for (;;) | ||
202 | { | ||
203 | unsigned int rc = wakeup_thread(list); | ||
204 | |||
205 | if (rc == THREAD_NONE) | ||
206 | break; | ||
207 | |||
208 | result |= rc; | ||
209 | } | ||
210 | |||
211 | return result; | ||
212 | } | ||
213 | |||
214 | /* for block_thread(), _w_tmp() and wakeup_thread() t->lock must point | 197 | /* for block_thread(), _w_tmp() and wakeup_thread() t->lock must point |
215 | * to a corelock instance, and this corelock must be held by the caller */ | 198 | * to a corelock instance, and this corelock must be held by the caller */ |
216 | void block_thread_switch(struct thread_entry *t, struct corelock *cl) | 199 | void block_thread_switch(struct thread_entry *t, struct corelock *cl) |