Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HelenOS/helenos
/ lock
Method
lock
uspace/lib/cpp/src/mutex.cpp:33–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
namespace std
32
{
33
void mutex::lock()
34
{
35
aux::threading::mutex::lock(mtx_);
36
}
37
38
bool mutex::try_lock()
39
{
Callers
2
__cxa_guard_acquire
Function · 0.45
test_weak_ptr
Method · 0.45
Calls
2
lock
Function · 0.85
get_id
Function · 0.85
Tested by
1
test_weak_ptr
Method · 0.36