Changeset 60 for trunk/kernel/libk/spinlock.c
- Timestamp:
- Jun 26, 2017, 4:55:47 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/spinlock.c
r14 r60 45 45 uint32_t * irq_state ) 46 46 { 47 uint32_tmode;47 reg_t mode; 48 48 volatile uint32_t taken; 49 49 thread_t * this = CURRENT_THREAD; … … 90 90 void spinlock_lock( spinlock_t * lock ) 91 91 { 92 uint32_tmode;92 reg_t mode; 93 93 thread_t * this = CURRENT_THREAD; 94 94 bool_t isAtomic = false; … … 127 127 error_t spinlock_trylock( spinlock_t * lock ) 128 128 { 129 uint32_tmode;129 reg_t mode; 130 130 bool_t isAtomic = false; 131 131 thread_t * this = CURRENT_THREAD;
Note: See TracChangeset
for help on using the changeset viewer.