2 ms·
SRWLocks are a Windows feature, not a Rust feature, so you're looking in the wrong place. Here's STL's (nominative determinism at work) GitHub issue for Micros
by tialaramex 2y ago
SRWLocks are a Windows feature, not a Rust feature, so you're looking in the wrong place.
Here's STL's (nominative determinism at work) GitHub issue for Microsoft's C++ stdlib implementation about this https://github.com/microsoft/STL/issues/4448 https://github.com/microsoft/STL/issues/4448
Here's the C++ Reddit thread where the bug was shown: https://www.reddit.com/r/cpp/comments/1b55686/maybe_possible_bug_in_stdshared_mutex_on_windows/ https://www.reddit.com/r/cpp/comments/1b55686/maybe_possible...
Here's the Rust change which was merged for 1.78: https://github.com/rust-lang/rust/pull/121956/ https://github.com/rust-lang/rust/pull/121956/