Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HelenOS/helenos
/ get_id
Function
get_id
uspace/lib/cpp/src/thread.cpp:134–137 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
132
namespace this_thread
133
{
134
thread::id get_id() noexcept
135
{
136
return thread::id{aux::threading::thread::this_thread()};
137
}
138
139
void yield() noexcept
140
{
Callers
5
lock
Method · 0.85
try_lock
Method · 0.85
unlock
Method · 0.85
try_lock_for
Method · 0.85
try_lock_until
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected