Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ try_lock
Method
try_lock
system/lib/libcxx/src/mutex.cpp:35–35 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
}
34
35
bool mutex::try_lock() noexcept { return __libcpp_mutex_trylock(&__m_); }
36
37
void mutex::unlock() noexcept {
38
int ec = __libcpp_mutex_unlock(&__m_);
Callers
1
mi_lock_try_acquire
Function · 0.45
Calls
4
get_id
Function · 0.85
__libcpp_mutex_trylock
Function · 0.50
__libcpp_recursive_mutex_trylock
Function · 0.50
max
Function · 0.50
Tested by
no test coverage detected