Changeset da1bafb in mainline for kernel/generic/src/ipc/event.c
- Timestamp:
- 2010-05-24T18:57:31Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0095368
- Parents:
- 666f492
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/event.c
r666f492 rda1bafb 137 137 IPC_SET_ARG5(call->data, a5); 138 138 139 ipl_t ipl = interrupts_disable(); 140 spinlock_lock(&events[evno].answerbox->irq_lock); 139 irq_spinlock_lock(&events[evno].answerbox->irq_lock, true); 141 140 list_append(&call->link, &events[evno].answerbox->irq_notifs); 142 spinlock_unlock(&events[evno].answerbox->irq_lock); 143 interrupts_restore(ipl); 141 irq_spinlock_unlock(&events[evno].answerbox->irq_lock, true); 144 142 145 143 waitq_wakeup(&events[evno].answerbox->wq, WAKEUP_FIRST);
Note:
See TracChangeset
for help on using the changeset viewer.