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

Method SharedMutex

include/mutex.hpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 pthread_rwlock_t rwlock;
18
19 SharedMutex() {
20 int err = pthread_rwlock_init(&rwlock, NULL);
21 (void) err;
22 assert(!err);
23 }
24 ~SharedMutex() {
25 pthread_rwlock_destroy(&rwlock);
26 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected