Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ unlock
Method
unlock
system/lib/libcxx/src/shared_mutex.cpp:40–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
}
39
40
void __shared_mutex_base::unlock() {
41
{
42
lock_guard<mutex> _(__mut_);
43
__state_ = 0;
44
}
45
__gate1_.notify_all();
46
}
47
48
// Shared ownership
49
Callers
1
unlock_shared
Method · 0.45
Calls
1
notify_all
Method · 0.80
Tested by
no test coverage detected