Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/locks.hfa

    r0cee082 r8a97248  
    511511        // flag showing if lock is held
    512512        volatile bool held;
    513 
    514         #ifdef __CFA_DEBUG__
    515         // for deadlock detection
    516         struct thread$ * owner;
    517         #endif
    518513};
    519514
     
    526521static inline void ?=?( spin_queue_lock & this, spin_queue_lock this2 ) = void;
    527522
    528 // if this is called recursively IT WILL DEADLOCK!!!!!
     523// if this is called recursively IT WILL DEADLOCK!
    529524static inline void lock(spin_queue_lock & this) with(this) {
    530525        mcs_spin_node node;
     
    645640//-----------------------------------------------------------------------------
    646641// is_blocking_lock
    647 trait is_blocking_lock(L & | sized(L)) {
     642forall( L & | sized(L) )
     643trait is_blocking_lock {
    648644        // For synchronization locks to use when acquiring
    649645        void on_notify( L &, struct thread$ * );
Note: See TracChangeset for help on using the changeset viewer.