Changeset fbaea970 for libcfa/src/concurrency/future.hfa
- Timestamp:
- Nov 23, 2025, 10:54:30 PM (20 hours ago)
- Branches:
- master
- Children:
- 00aa122
- Parents:
- 8ffee9a
- File:
-
- 1 edited
-
libcfa/src/concurrency/future.hfa (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/future.hfa
r8ffee9a rfbaea970 10 10 // Created On : Wed Jan 06 17:33:18 2021 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Nov 19 09:26:38 202513 // Update Count : 20 412 // Last Modified On : Sun Nov 23 22:48:08 2025 13 // Update Count : 208 14 14 // 15 15 … … 55 55 // PRIVATE 56 56 57 bool register_select ( future(T) & fut, select_node & s ) with( fut ) { // for waituntil statement57 bool register_select$( future(T) & fut, select_node & s ) with( fut ) { // for waituntil statement 58 58 lock( lock ); 59 59 … … 78 78 } 79 79 80 bool unregister_select ( future(T) & fut, select_node & s ) with( fut ) { // for waituntil statement80 bool unregister_select$( future(T) & fut, select_node & s ) with( fut ) { // for waituntil statement 81 81 if ( ! isListed( s ) ) return false; 82 82 lock( lock ); … … 86 86 } 87 87 88 bool on_selected ( future(T) &, select_node & ) { return true; } // for waituntil statement88 bool on_selected$( future(T) &, select_node & ) { return true; } // for waituntil statement 89 89 90 90 // PUBLIC … … 98 98 99 99 void ?{}( future(T) & fut ) with( fut ) { 100 // waiters{};101 100 except = 0p; 102 101 state = FUTURE_EMPTY$; … … 260 259 // PRIVATE 261 260 262 bool register_select ( future_rc(T) & frc, select_node & s ) with( frc ) { // for waituntil statement263 return register_select ( frc.impl->fut, s );264 } 265 266 bool unregister_select ( future_rc(T) & frc, select_node & s ) with( frc ) { // for waituntil statement267 return unregister_select ( frc.impl->fut, s );268 } 269 270 bool on_selected ( future_rc(T) &, select_node & ) { return true; } // for waituntil statement261 bool register_select$( future_rc(T) & frc, select_node & s ) with( frc ) { // for waituntil statement 262 return register_select$( frc.impl->fut, s ); 263 } 264 265 bool unregister_select$( future_rc(T) & frc, select_node & s ) with( frc ) { // for waituntil statement 266 return unregister_select$( frc.impl->fut, s ); 267 } 268 269 bool on_selected$( future_rc(T) &, select_node & ) { return true; } // for waituntil statement 271 270 272 271 // PUBLIC
Note:
See TracChangeset
for help on using the changeset viewer.