Rev 4527 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4527 | Rev 4535 | ||
---|---|---|---|
Line 195... | Line 195... | ||
195 | 195 | ||
196 | futex_down(&async_futex); |
196 | futex_down(&async_futex); |
197 | while (!list_empty(&fcv->waiters)) { |
197 | while (!list_empty(&fcv->waiters)) { |
198 | tmp = fcv->waiters.next; |
198 | tmp = fcv->waiters.next; |
199 | f = list_get_instance(tmp, fibril_t, link); |
199 | f = list_get_instance(tmp, fibril_t, link); |
- | 200 | list_remove(&f->link); |
|
200 | fibril_add_ready((fid_t) f); |
201 | fibril_add_ready((fid_t) f); |
201 | if (once) |
202 | if (once) |
202 | break; |
203 | break; |
203 | } |
204 | } |
204 | futex_up(&async_futex); |
205 | futex_up(&async_futex); |