This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/60966] std::call_once sometime hangs


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

Leon Timmermans <fawaka at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fawaka at gmail dot com

--- Comment #10 from Leon Timmermans <fawaka at gmail dot com> ---
(In reply to Thomas Sanchez from comment #8)
> Hey,
> I just wanted to know if you had the time to look into and/or if you were
> able to reproduce the bug ?
> 
> Thanks,

It seems I've hit exactly the same issue in my code: std::promise::set_value
hangs in pthread_once.

Interestingly, it always happens in the second thread of that type (same thread
function). I'm not sure how to interpret that.

Leon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]