Changeset 72786f38 in mainline for uspace/lib/cpp/include/__bits/thread/promise.hpp
- Timestamp:
- 2019-07-02T14:00:28Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5ab9df4
- Parents:
- d3ba97d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/__bits/thread/promise.hpp
rd3ba97d r72786f38 106 106 107 107 state_->set_exception_ptr(ptr, false); 108 // TODO: Mark it as 'has_exception' when thread terminates.108 aux::set_state_exception_at_thread_exit(state_); 109 109 } 110 110 … … 226 226 227 227 this->state_->set_value(val, false); 228 // TODO: schedule it to be set as ready when thread exits228 aux::set_state_value_at_thread_exit(state_); 229 229 } 230 230 … … 241 241 242 242 this->state_->set_value(forward<R>(val), false); 243 // TODO: schedule it to be set as ready when thread exits243 aux::set_state_value_at_thread_exit(state_); 244 244 } 245 245 }; … … 312 312 313 313 this->state_->set_value(&val, false); 314 // TODO: schedule it to be set as ready when thread exits314 aux::set_state_value_at_thread_exit(state_); 315 315 } 316 316 };
Note:
See TracChangeset
for help on using the changeset viewer.