Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
swap
Function · 0.45
test_tuple_ops
Method · 0.45
run
Method · 0.45
test_promise
Method · 0.45
test_operations
Method · 0.45
Calls
1
swap
Function · 0.70
Tested by
4
test_tuple_ops
Method · 0.36
run
Method · 0.36
test_promise
Method · 0.36
test_operations
Method · 0.36