pthread_cancel async-signal-safe
Adhemerval Zanella
adhemerval.zanella@linaro.org
Fri Dec 4 19:39:18 GMT 2020
On 04/12/2020 16:32, Florian Weimer wrote:
> * Adhemerval Zanella:
>
>> Can't we move pthread_cancel_init to __pthread_initialize_minimal_internal?
>
> In the future, that will be equivalent to dynamically linking glibc
> against libgcc_s. In the sense that every process will load libgcc_s.
Yes, this should be simpler until we write own unwinder (which I think
it is overkill and would require a lot of work) or came with a different
mechanism to implement pthread cancellation (maybe by decoupling from
C++ exception, which I am not sure it would be possible due compatibility).
More information about the Libc-alpha
mailing list