[Bug libstdc++/101037] C++20 std::atomic_flag deadlock on Windows

2022-01-15 Thread pexu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101037 Pekka S changed: What|Removed |Added CC||p...@gcc-bugzilla.mail.kaps

[Bug libstdc++/101037] C++20 std::atomic_flag deadlock on Windows

2023-01-16 Thread i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101037 niXman changed: What|Removed |Added CC||i.nixman at autistici dot org --- Comment #4 f

[Bug libstdc++/101037] C++20 std::atomic_flag deadlock on Windows

2023-01-16 Thread i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101037 --- Comment #5 from niXman --- (In reply to niXman from comment #4) > I don't think it is mingw/windows related. > can't the example be checked using thread sanitizer? ... on Linux.

[Bug libstdc++/101037] C++20 std::atomic_flag deadlock on Windows

2023-01-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101037 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug libstdc++/101037] C++20 std::atomic_flag deadlock on Windows

2023-01-16 Thread i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101037 --- Comment #7 from niXman --- > The implementation is completely different on linux, so that would require > some code changes at least. I didn't think so... I think conceptually the solution looks the same for all platforms... OK, got it!

[Bug libstdc++/101037] C++20 std::atomic_flag deadlock on Windows

2023-01-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101037 --- Comment #8 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #6) > (In reply to niXman from comment #5) > > > can't the example be checked using thread sanitizer? > > > > ... on Linux. > > The implementation is completely

[Bug libstdc++/101037] C++20 std::atomic_flag deadlock on Windows

2023-01-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101037 Jonathan Wakely changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---