Changeset ae66348 for libcfa/src/bits/locks.hfa
- Timestamp:
- Mar 24, 2020, 1:39:31 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- c72ea7a, f100a83
- Parents:
- 210b8b3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/locks.hfa
r210b8b3 rae66348 54 54 55 55 #ifdef __CFA_DEBUG__ 56 void __cfaabi_dbg_record (__spinlock_t & this, const char prev_name[]);56 void __cfaabi_dbg_record_lock(__spinlock_t & this, const char prev_name[]); 57 57 #else 58 #define __cfaabi_dbg_record (x, y)58 #define __cfaabi_dbg_record_lock(x, y) 59 59 #endif 60 60 } … … 69 69 bool result = (this.lock == 0) && (__atomic_test_and_set( &this.lock, __ATOMIC_ACQUIRE ) == 0); 70 70 if( result ) { 71 __cfaabi_dbg_record ( this, caller );71 __cfaabi_dbg_record_lock( this, caller ); 72 72 } else { 73 73 enable_interrupts_noPoll(); … … 99 99 #endif 100 100 } 101 __cfaabi_dbg_record ( this, caller );101 __cfaabi_dbg_record_lock( this, caller ); 102 102 } 103 103
Note: See TracChangeset
for help on using the changeset viewer.