Rev 1258 | Rev 1281 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1258 | Rev 1260 | ||
---|---|---|---|
Line 433... | Line 433... | ||
433 | spinlock_unlock(&task->answerbox.lock); |
433 | spinlock_unlock(&task->answerbox.lock); |
434 | 434 | ||
435 | /* Wait for all async answers to arrive */ |
435 | /* Wait for all async answers to arrive */ |
436 | while (atomic_get(&task->active_calls)) { |
436 | while (atomic_get(&task->active_calls)) { |
437 | call = ipc_wait_for_call(&task->answerbox, 0); |
437 | call = ipc_wait_for_call(&task->answerbox, 0); |
438 | ASSERT(call->flags & IPC_CALL_ANSWERED); |
438 | ASSERT((call->flags & IPC_CALL_ANSWERED) || (call->flags & IPC_CALL_NOTIF)); |
439 | ASSERT(! (call->flags & IPC_CALL_STATIC_ALLOC)); |
439 | ASSERT(! (call->flags & IPC_CALL_STATIC_ALLOC)); |
440 | 440 | ||
441 | atomic_dec(&task->active_calls); |
441 | atomic_dec(&task->active_calls); |
442 | ipc_call_free(call); |
442 | ipc_call_free(call); |
443 | } |
443 | } |