MCPcopy Create free account
hub / github.com/VCVRack/Rack / SharedLock

Method SharedLock

include/mutex.hpp:62–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 TMutex& m;
61
62 SharedLock(TMutex& m) : m(m) {
63 m.lock_shared();
64 }
65 ~SharedLock() {
66 m.unlock_shared();
67 }

Callers

nothing calls this directly

Calls 1

lock_sharedMethod · 0.80

Tested by

no test coverage detected