This is the mail archive of the
mailing list for the GCC project.
Re: Behaviour of __forced_unwind with noexcept
On 15 August 2017 at 17:39, Jonathan Wakely wrote:
> Also currently std::thread runs the supplied function object inside a
> noexcept function. With your proposal cancellation would be blocked in
> any thread created by a std::thread, i.e. you could only cancel in the
> main() thread, or threads created by pthread_create.
Sorry, that was incorrect. I misremembered what the std::thread code does.