Changeset fbaea970 for libcfa/src/bits
- Timestamp:
- Nov 23, 2025, 10:54:30 PM (4 weeks ago)
- Branches:
- master
- Children:
- 00aa122
- Parents:
- 8ffee9a
- Location:
- libcfa/src/bits
- Files:
-
- 2 edited
-
weakso_locks.cfa (modified) (1 diff)
-
weakso_locks.hfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/weakso_locks.cfa
r8ffee9a rfbaea970 28 28 void on_wakeup( blocking_lock &, size_t ) {} 29 29 size_t wait_count( blocking_lock & ) { return 0; } 30 bool register_select ( blocking_lock & this, select_node & node ) { return false; }31 bool unregister_select ( blocking_lock & this, select_node & node ) { return false; }32 bool on_selected ( blocking_lock & this, select_node & node ) { return true; }30 bool register_select$( blocking_lock & this, select_node & node ) { return false; } 31 bool unregister_select$( blocking_lock & this, select_node & node ) { return false; } 32 bool on_selected$( blocking_lock & this, select_node & node ) { return true; } 33 33 -
libcfa/src/bits/weakso_locks.hfa
r8ffee9a rfbaea970 59 59 void on_wakeup( blocking_lock & this, size_t ) OPTIONAL_THREAD; 60 60 size_t wait_count( blocking_lock & this ) OPTIONAL_THREAD; 61 bool register_select ( blocking_lock & this, select_node & node ) OPTIONAL_THREAD;62 bool unregister_select ( blocking_lock & this, select_node & node ) OPTIONAL_THREAD;63 bool on_selected ( blocking_lock & this, select_node & node ) OPTIONAL_THREAD;61 bool register_select$( blocking_lock & this, select_node & node ) OPTIONAL_THREAD; 62 bool unregister_select$( blocking_lock & this, select_node & node ) OPTIONAL_THREAD; 63 bool on_selected$( blocking_lock & this, select_node & node ) OPTIONAL_THREAD; 64 64 blocking_lock __CFA_select_get_type( blocking_lock this ) OPTIONAL_THREAD; 65 65 … … 78 78 static inline void on_wakeup( multiple_acquisition_lock & this, size_t v ) { on_wakeup ( (blocking_lock &)this, v ); } 79 79 static inline void on_notify( multiple_acquisition_lock & this, struct thread$ * t ){ on_notify( (blocking_lock &)this, t ); } 80 static inline bool register_select ( multiple_acquisition_lock & this, select_node & node ) { return register_select( (blocking_lock &)this, node ); }81 static inline bool unregister_select ( multiple_acquisition_lock & this, select_node & node ) { return unregister_select( (blocking_lock &)this, node ); }82 static inline bool on_selected ( multiple_acquisition_lock & this, select_node & node ) { return on_selected( (blocking_lock &)this, node ); }80 static inline bool register_select$( multiple_acquisition_lock & this, select_node & node ) { return register_select$( (blocking_lock &)this, node ); } 81 static inline bool unregister_select$( multiple_acquisition_lock & this, select_node & node ) { return unregister_select$( (blocking_lock &)this, node ); } 82 static inline bool on_selected$( multiple_acquisition_lock & this, select_node & node ) { return on_selected$( (blocking_lock &)this, node ); } 83 83 multiple_acquisition_lock __CFA_select_get_type( multiple_acquisition_lock this );
Note:
See TracChangeset
for help on using the changeset viewer.