Changes in libcfa/src/bits/locks.hfa [a3821fa:454f478]
- File:
-
- 1 edited
-
libcfa/src/bits/locks.hfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/locks.hfa
ra3821fa r454f478 37 37 extern "C" { 38 38 extern void disable_interrupts() OPTIONAL_THREAD; 39 extern void enable_interrupts ( bool poll = true) OPTIONAL_THREAD;39 extern void enable_interrupts_noPoll() OPTIONAL_THREAD; 40 40 41 41 #ifdef __CFA_DEBUG__ … … 57 57 __cfaabi_dbg_record_lock( this, caller ); 58 58 } else { 59 enable_interrupts ( false);59 enable_interrupts_noPoll(); 60 60 } 61 61 return result; … … 90 90 static inline void unlock( __spinlock_t & this ) { 91 91 __atomic_clear( &this.lock, __ATOMIC_RELEASE ); 92 enable_interrupts ( false);92 enable_interrupts_noPoll(); 93 93 } 94 94 #endif
Note:
See TracChangeset
for help on using the changeset viewer.