Changes in kernel/generic/src/interrupt/interrupt.c [cd98e594:07640dfd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/interrupt/interrupt.c
rcd98e594 r07640dfd 93 93 94 94 /* Account user cycles */ 95 if (THREAD) { 96 spinlock_lock(&THREAD->lock); 95 if (THREAD) 97 96 thread_update_accounting(true); 98 spinlock_unlock(&THREAD->lock);99 }100 97 101 98 #ifdef CONFIG_UDEBUG … … 113 110 thread_exit(); 114 111 115 if (THREAD) { 116 spinlock_lock(&THREAD->lock); 112 if (THREAD) 117 113 thread_update_accounting(false); 118 spinlock_unlock(&THREAD->lock);119 }120 114 } 121 115
Note:
See TracChangeset
for help on using the changeset viewer.