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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-11-23
     Ever confirmed|0                           |1

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Ivan Sorokin from comment #0)
> This also matches the C++ standard very well
> [thread.condition.condvar] where condition_variable::wait() is not marked as
> noexcept.

Huh, I thought it was noexcept. Then yes, we should remove it.

There are still lots of other places where the stadnard does require 'noexcept'
and cancellation will terminate. NPTL thread cancellation via __forced_unwind
just doesn't work well in C++.

Reply via email to