Ignore:
Timestamp:
Jun 1, 2023, 11:55:09 AM (13 months ago)
Author:
caparsons <caparson@…>
Branches:
ast-experimental, master
Children:
fc0996a
Parents:
8913de4
Message:

refactored to remove return val from on_selected

File:
1 edited

Legend:

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

    r8913de4 r70a4ed5  
    114114static inline bool   register_select( single_acquisition_lock & this, select_node & node ) { return register_select( (blocking_lock &)this, node ); }
    115115static inline bool   unregister_select( single_acquisition_lock & this, select_node & node ) { return unregister_select( (blocking_lock &)this, node ); }
    116 static inline bool   on_selected( single_acquisition_lock & this, select_node & node ) { return on_selected( (blocking_lock &)this, node ); }
     116static inline void   on_selected( single_acquisition_lock & this, select_node & node ) { on_selected( (blocking_lock &)this, node ); }
    117117
    118118//----------
     
    131131static inline bool   register_select( owner_lock & this, select_node & node ) { return register_select( (blocking_lock &)this, node ); }
    132132static inline bool   unregister_select( owner_lock & this, select_node & node ) { return unregister_select( (blocking_lock &)this, node ); }
    133 static inline bool   on_selected( owner_lock & this, select_node & node ) { return on_selected( (blocking_lock &)this, node ); }
     133static inline void   on_selected( owner_lock & this, select_node & node ) { on_selected( (blocking_lock &)this, node ); }
    134134
    135135//-----------------------------------------------------------------------------
     
    621621}
    622622
    623 static inline bool on_selected( simple_owner_lock & this, select_node & node ) { return true; }
     623static inline void on_selected( simple_owner_lock & this, select_node & node ) {}
    624624
    625625
Note: See TracChangeset for help on using the changeset viewer.