Changeset fbaea970 for libcfa/src/concurrency/select.hfa
- Timestamp:
- Nov 23, 2025, 10:54:30 PM (12 hours ago)
- Branches:
- master
- Parents:
- 8ffee9a
- File:
-
- 1 edited
-
libcfa/src/concurrency/select.hfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/select.hfa
r8ffee9a rfbaea970 11 11 // Created On : Thu Jan 21 19:46:50 2023 12 12 // Last Modified By : Peter A. Buhr 13 // Last Modified On : Fri Apr 25 07:31:26 202514 // Update Count : 513 // Last Modified On : Sun Nov 23 22:38:36 2025 14 // Update Count : 8 15 15 // 16 16 … … 87 87 // For registering a select stmt on a selectable concurrency primitive 88 88 // Returns bool that indicates if operation is already SAT 89 bool register_select ( T &, select_node & );89 bool register_select$( T &, select_node & ); 90 90 91 91 // For unregistering a select stmt on a selectable concurrency primitive 92 92 // If true is returned then the corresponding code block is run (only in non-special OR case and only if node status is not RUN) 93 bool unregister_select ( T &, select_node & );93 bool unregister_select$( T &, select_node & ); 94 94 95 95 // This routine is run on the selecting thread prior to executing the statement corresponding to the select_node 96 96 // passed as an arg to this routine. If true is returned proceed as normal, if false is returned the statement is skipped 97 bool on_selected ( T &, select_node & );97 bool on_selected$( T &, select_node & ); 98 98 }; 99 99 // Used inside the compiler to allow for overloading on return type for operations such as '?<<?' for channels … … 209 209 210 210 // Selectable trait routines 211 bool register_select ( select_timeout_node & this, select_node & node );212 bool unregister_select ( select_timeout_node & this, select_node & node );213 bool on_selected ( select_timeout_node & this, select_node & node );211 bool register_select$( select_timeout_node & this, select_node & node ); 212 bool unregister_select$( select_timeout_node & this, select_node & node ); 213 bool on_selected$( select_timeout_node & this, select_node & node ); 214 214 select_timeout_node __CFA_select_get_type( select_timeout_node this ); 215 215
Note:
See TracChangeset
for help on using the changeset viewer.