Adhemerval Zanella bf6749a7f8 nptl: Use SA_RESTART for SIGCANCEL handler
The usage of signals to implementation pthread cancellation is an
implementation detail and should not be visible through cancellation
entrypoints.

However now that pthread_cancel always send the SIGCANCEL, some
entrypoint might be interruptable and return EINTR to the caller
(for instance on sem_wait).

Using SA_RESTART hides this, since the cancellation handler should
either act uppon cancellation (if asynchronous cancellation is enable)
or ignore the cancellation internal signal.

Checked on x86_64-linux-gnu and i686-linux-gnu.
2021-06-23 13:45:13 -03:00
..
2021-06-15 10:42:11 -03:00
2021-05-03 08:14:01 +02:00
2021-05-05 17:19:40 +02:00
2021-05-05 17:19:45 +02:00
2021-05-05 17:19:47 +02:00
2020-06-07 13:35:54 +02:00