Changeset b6de35e for libcfa/src/concurrency/future.hfa
- Timestamp:
- Nov 7, 2025, 8:28:03 AM (5 days ago)
- Branches:
- master
- Children:
- 0048327
- Parents:
- f5856ecd
- File:
-
- 1 edited
-
libcfa/src/concurrency/future.hfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/future.hfa
rf5856ecd rb6de35e 10 10 // Created On : Wed Jan 06 17:33:18 2021 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Apr 23 22:41:10202513 // Update Count : 2 212 // Last Modified On : Tue Nov 4 22:04:42 2025 13 // Update Count : 23 14 14 // 15 15 … … 298 298 void reset(multi_future(T) & mutex this) { 299 299 if ( this.has_first != false ) abort("Attempting to reset a multi_future with at least one blocked threads"); 300 if ( ! is_empty(this.blocked) ) abort("Attempting to reset a multi_future with multiple blocked threads");300 if ( ! empty( this.blocked ) ) abort("Attempting to reset a multi_future with multiple blocked threads"); 301 301 reset( (future_t&)*(future_t*)((uintptr_t)&this + sizeof(monitor$)) ); 302 302 }
Note:
See TracChangeset
for help on using the changeset viewer.