Ignore:
Timestamp:
Jul 11, 2023, 2:27:58 PM (15 months ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
bbecdd4
Parents:
4c8ce47
Message:

fixed spurious channel close waituntil error case. Was caused by a race condition causing an exception to be thrown while another was in flight

File:
1 edited

Legend:

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

    r4c8ce47 rb93bf85  
    112112static inline bool   register_select( single_acquisition_lock & this, select_node & node ) { return register_select( (blocking_lock &)this, node ); }
    113113static inline bool   unregister_select( single_acquisition_lock & this, select_node & node ) { return unregister_select( (blocking_lock &)this, node ); }
    114 static inline void   on_selected( single_acquisition_lock & this, select_node & node ) { on_selected( (blocking_lock &)this, node ); }
     114static inline bool   on_selected( single_acquisition_lock & this, select_node & node ) { return on_selected( (blocking_lock &)this, node ); }
    115115
    116116//----------
     
    129129static inline bool   register_select( owner_lock & this, select_node & node ) { return register_select( (blocking_lock &)this, node ); }
    130130static inline bool   unregister_select( owner_lock & this, select_node & node ) { return unregister_select( (blocking_lock &)this, node ); }
    131 static inline void   on_selected( owner_lock & this, select_node & node ) { on_selected( (blocking_lock &)this, node ); }
     131static inline bool   on_selected( owner_lock & this, select_node & node ) { return on_selected( (blocking_lock &)this, node ); }
    132132
    133133//-----------------------------------------------------------------------------
     
    619619}
    620620
    621 static inline void on_selected( simple_owner_lock & this, select_node & node ) {}
     621static inline bool on_selected( simple_owner_lock & this, select_node & node ) { return true; }
    622622
    623623
Note: See TracChangeset for help on using the changeset viewer.