Changes in kernel/generic/src/synch/spinlock.c [2b4a9f26:13108f24] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/spinlock.c
r2b4a9f26 r13108f24 128 128 void spinlock_unlock_debug(spinlock_t *lock) 129 129 { 130 ASSERT _SPINLOCK(atomic_get(&lock->val) != 0, lock);130 ASSERT(atomic_get(&lock->val) != 0); 131 131 132 132 /* … … 143 143 /** Lock spinlock conditionally 144 144 * 145 * Lock spinlock conditionally. If the spinlock is not available 146 * at the moment, signal failure. 145 * Lock spinlock conditionally. 146 * If the spinlock is not available at the moment, 147 * signal failure. 147 148 * 148 149 * @param lock Pointer to spinlock_t structure.
Note:
See TracChangeset
for help on using the changeset viewer.