| 47 | void mutex::unlock() { nsync::nsync_mu_unlock(mu_cast(&mu_)); } |
| 48 | |
| 49 | void mutex::lock_shared() { nsync::nsync_mu_rlock(mu_cast(&mu_)); } |
| 50 | |
| 51 | bool mutex::try_lock_shared() { |
| 52 | return nsync::nsync_mu_rtrylock(mu_cast(&mu_)) != 0; |
no test coverage detected