3 ms·
I've looked in the Rust issue tracker for SRWLocks but could only find older posts. Can you share some links?
by OptionOfT 2y ago
I've looked in the Rust issue tracker for SRWLocks but could only find older posts. Can you share some links?
- tialaramex 2y agoSRWLocks 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/