https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106183
Ted_lion <tedlion_tang at foxmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tedlion_tang at foxmail dot com
--- Comment #1 from Ted_lion <tedlion_tang at foxmail dot com> ---
I found my program blocked and it turned out to be the same problem of
atomic::wait. According to the C++20 Standard, the function atomic::wait should
perform an atomic waiting operations. The subprocedure of comparison with old
value and waiting for the notification should not be interrupted by an
operation on same atomic object.