pthread_cancel async-signal-safe

Florian Weimer fweimer@redhat.com
Mon Dec 7 13:06:49 GMT 2020


* Adhemerval Zanella:

> The pthread_cancel interoperability with C++ seems a heavy burden, but I'm
> not sure which better options we do have here.

It's not just C++, it's needed for -fexception support in C and other
languages.

Furthermore, the out-of-line DWARF unwinding tables can be made
considerably safer than on-stack pointers used by the longjmp-based
mechanism.

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill



More information about the Libc-alpha mailing list