[Bug libstdc++/68519] condition_variable::wait_for does not work properly with float duration

jbellon at bsc dot es gcc-bugzilla@gcc.gnu.org
Tue Nov 24 15:13:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68519

Jorge Bellon <jbellon at bsc dot es> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36824|0                           |1
        is obsolete|                            |

--- Comment #3 from Jorge Bellon <jbellon at bsc dot es> ---
Created attachment 36827
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36827&action=edit
source file that reproduces the bug (data race fixed)

I've uploaded again the source file with the fixed data race (typo when
writting the example, sorry).

Now it passes both -fsanitize=thread and -fsanitize=address (but still does not
work as expected).


More information about the Gcc-bugs mailing list