Changeset c6f0e3a2 in mainline
- Timestamp:
- 2010-05-10T19:14:45Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 52c60b6
- Parents:
- e2fcdb1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/kbox.c
re2fcdb1 rc6f0e3a2 126 126 ipc_answer(&TASK->kb.box, call); 127 127 128 mutex_lock(&TASK->kb.cleanup_lock); 129 128 130 ipl = interrupts_disable(); 129 131 spinlock_lock(&TASK->lock); … … 136 138 137 139 /* Only detach kbox thread unless already terminating. */ 138 mutex_lock(&TASK->kb.cleanup_lock);139 140 if (TASK->kb.finished == false) { 140 141 /* Detach kbox thread so it gets freed from memory. */ … … 142 143 TASK->kb.thread = NULL; 143 144 } 144 mutex_unlock(&TASK->kb.cleanup_lock);145 145 146 146 LOG("Phone list is empty."); … … 153 153 spinlock_unlock(&TASK->lock); 154 154 interrupts_restore(ipl); 155 156 mutex_unlock(&TASK->kb.cleanup_lock); 155 157 } 156 158
Note:
See TracChangeset
for help on using the changeset viewer.