Changeset 2b4a9f26 in mainline for kernel/generic/src/synch/spinlock.c
- Timestamp:
- 2010-05-20T19:30:18Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 42bbbe2
- Parents:
- b10e6e31
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/spinlock.c
rb10e6e31 r2b4a9f26 128 128 void spinlock_unlock_debug(spinlock_t *lock) 129 129 { 130 ASSERT (atomic_get(&lock->val) != 0);130 ASSERT_SPINLOCK(atomic_get(&lock->val) != 0, lock); 131 131 132 132 /* … … 143 143 /** Lock spinlock conditionally 144 144 * 145 * Lock spinlock conditionally. 146 * If the spinlock is not available at the moment, 147 * signal failure. 145 * Lock spinlock conditionally. If the spinlock is not available 146 * at the moment, signal failure. 148 147 * 149 148 * @param lock Pointer to spinlock_t structure.
Note:
See TracChangeset
for help on using the changeset viewer.