Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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

Here's the C++ Reddit thread where the bug was shown: 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/




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: