Changeset cd98e594 in mainline for kernel/generic/src/interrupt/interrupt.c
- Timestamp:
- 2010-05-09T18:26:39Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e2fcdb1
- Parents:
- 5e984f2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/interrupt/interrupt.c
r5e984f2 rcd98e594 93 93 94 94 /* Account user cycles */ 95 if (THREAD) 95 if (THREAD) { 96 spinlock_lock(&THREAD->lock); 96 97 thread_update_accounting(true); 98 spinlock_unlock(&THREAD->lock); 99 } 97 100 98 101 #ifdef CONFIG_UDEBUG … … 110 113 thread_exit(); 111 114 112 if (THREAD) 115 if (THREAD) { 116 spinlock_lock(&THREAD->lock); 113 117 thread_update_accounting(false); 118 spinlock_unlock(&THREAD->lock); 119 } 114 120 } 115 121
Note:
See TracChangeset
for help on using the changeset viewer.