Changes in src/libcfa/bits/locks.h [85b1deb:1997b4e]
- File:
-
- 1 edited
-
src/libcfa/bits/locks.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/bits/locks.h
r85b1deb r1997b4e 64 64 extern void disable_interrupts(); 65 65 extern void enable_interrupts_noPoll(); 66 67 #ifdef __CFA_DEBUG__ 68 void __cfaabi_dbg_record(__spinlock_t & this, const char * prev_name); 69 #else 70 #define __cfaabi_dbg_record(x, y) 71 #endif 66 72 } 67 73 … … 71 77 this.lock = 0; 72 78 } 73 74 75 #ifdef __CFA_DEBUG__76 void __cfaabi_dbg_record(__spinlock_t & this, const char * prev_name);77 #else78 #define __cfaabi_dbg_record(x, y)79 #endif80 79 81 80 // Lock the spinlock, return false if already acquired
Note:
See TracChangeset
for help on using the changeset viewer.