MCPcopy 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
35bool mutex::try_lock() noexcept { return __libcpp_mutex_trylock(&__m_); }
36
37void mutex::unlock() noexcept {
38 int ec = __libcpp_mutex_unlock(&__m_);

Callers 1

mi_lock_try_acquireFunction · 0.45

Calls 4

get_idFunction · 0.85
__libcpp_mutex_trylockFunction · 0.50
maxFunction · 0.50

Tested by

no test coverage detected