Add shims for RwLock::try_read/RwLock::try_write This implements proper locking so that we can check for reentrancy and implement the `try_*` methods. Fixes https://github.com/rust-lang/miri/issues/781
Add shims for RwLock::try_read/RwLock::try_write This implements proper locking so that we can check for reentrancy and implement the `try_*` methods. Fixes https://github.com/rust-lang/miri/issues/781