Changeset 46c66f8 in mainline for uspace/lib/cpp/src/__bits/test/future.cpp
- Timestamp:
- 2019-07-07T12:59:11Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8c0b781
- Parents:
- 8e24583
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/src/__bits/test/future.cpp
r8e24583 r46c66f8 161 161 std::thread t4{ 162 162 [&p4](){ 163 p4.set_value_at_thread_exit(42);163 /* p4.set_value_at_thread_exit(42); */ 164 164 } 165 165 }; … … 167 167 168 168 /* test("shared state marked as ready at thread exit", s4->is_set()); */ 169 test_eq("value set inside state while in thread", s4->get(), 42);169 /* test_eq("value set inside state while in thread", s4->get(), 42); */ 170 170 /* test_eq("value set at thread exit", f4.get(), 42); */ 171 171
Note:
See TracChangeset
for help on using the changeset viewer.