Changeset 5ab9df4 in mainline for uspace/lib/cpp/include/__bits/thread/packaged_task.hpp
- Timestamp:
- 2019-07-02T14:19:24Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4dfb259
- Parents:
- 72786f38
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/__bits/thread/packaged_task.hpp
r72786f38 r5ab9df4 191 191 { 192 192 state_->set_value(invoke(func_, args...), false); 193 aux::set_state_value_at_thread_exit(this->state_); 193 194 } 194 195 catch(const exception& __exception) 195 196 { 196 197 state_->set_exception(make_exception_ptr(__exception), false); 197 } 198 199 aux::set_state_value_at_thread_exit(state_); 198 aux::set_state_exception_at_thread_exit(this->state_); 199 } 200 200 } 201 201
Note:
See TracChangeset
for help on using the changeset viewer.