MCPcopy Create free account
hub / github.com/HelenOS/helenos / swap

Method swap

uspace/lib/cpp/src/thread.cpp:77–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 }
76
77 void thread::swap(thread& other) noexcept
78 {
79 std::swap(id_, other.id_);
80 std::swap(joinable_wrapper_, other.joinable_wrapper_);
81 }
82
83 bool thread::joinable() const noexcept
84 {

Callers 5

swapFunction · 0.45
test_tuple_opsMethod · 0.45
runMethod · 0.45
test_promiseMethod · 0.45
test_operationsMethod · 0.45

Calls 1

swapFunction · 0.70

Tested by 4

test_tuple_opsMethod · 0.36
runMethod · 0.36
test_promiseMethod · 0.36
test_operationsMethod · 0.36