| 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; |
| 53 | }; |
| 54 | |
| 55 | void mutex::unlock_shared() { nsync::nsync_mu_runlock(mu_cast(&mu_)); } |
| 56 |
no test coverage detected