MCPcopy 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
40void __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_sharedMethod · 0.45

Calls 1

notify_allMethod · 0.80

Tested by

no test coverage detected