Changeset 5e0b6657 for libcfa/src/concurrency/monitor.hfa
- Timestamp:
- Dec 8, 2025, 11:29:33 AM (2 months ago)
- Branches:
- master
- Children:
- 79ba50c
- Parents:
- 8f448e0 (diff), 79ec8c3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
libcfa/src/concurrency/monitor.hfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/monitor.hfa
r8f448e0 r5e0b6657 10 10 // Created On : Thd Feb 23 12:27:26 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T hu Feb 2 11:29:21 202313 // Update Count : 1 212 // Last Modified On : Tue Nov 4 21:56:17 2025 13 // Update Count : 16 14 14 // 15 15 … … 146 146 } 147 147 148 void wait ( condition & this, uintptr_t user_info = 0 ); 149 static inline bool is_empty ( condition & this ) { return this.blocked.head == 1p; } 150 bool signal ( condition & this ); 151 bool signal_block( condition & this ); 152 static inline bool signal_all ( condition & this ) { bool ret = false; while(!is_empty(this)) { ret = signal(this) || ret; } return ret; } 153 uintptr_t front ( condition & this ); 148 void wait( condition & this, uintptr_t user_info = 0 ); 149 static inline bool empty( condition & this ) { return this.blocked.head == 1p; } 150 bool signal ( condition & this ); 151 bool signal_block( condition & this ); 152 static inline bool signal_all( condition & this ) { 153 bool ret = false; 154 while ( !empty( this ) ) { 155 ret = signal(this) || ret; 156 } 157 return ret; 158 } 159 uintptr_t front( condition & this ); 154 160 155 161 //-----------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.