Changeset f173404 in mainline
- Timestamp:
- 2010-05-14T19:33:57Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 15b592b
- Parents:
- 9644c69
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/kbox.c
r9644c69 rf173404 47 47 void ipc_kbox_cleanup(void) 48 48 { 49 ipl_t ipl;50 49 bool have_kb_thread; 51 50 … … 78 77 * kbox thread to clean it up since sender != debugger. 79 78 */ 80 ipl = interrupts_disable(); 81 spinlock_lock(&TASK->lock); 79 mutex_lock(&TASK->udebug.lock); 82 80 udebug_task_cleanup(TASK); 83 spinlock_unlock(&TASK->lock); 84 interrupts_restore(ipl); 85 81 mutex_unlock(&TASK->udebug.lock); 82 86 83 if (have_kb_thread) { 87 84 LOG("Join kb.thread.");
Note:
See TracChangeset
for help on using the changeset viewer.