| 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected