1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-04-26 15:09:05 +03:00
Florian Weimer ce0b7961ae nptl: Consolidate async cancel enable/disable implementation in libc
Previously, the source file nptl/cancellation.c was compiled multiple
times, for libc, libpthread, librt.  This commit switches to a single
implementation, with new __pthread_enable_asynccancel@@GLIBC_PRIVATE,
__pthread_disable_asynccancel@@GLIBC_PRIVATE exports.

The almost-unused CANCEL_ASYNC and CANCEL_RESET macros are replaced
by LIBC_CANCEL_ASYNC and LIBC_CANCEL_ASYNC macros.  They call the
__pthread_* functions unconditionally now.  The macros are still
needed because shared code uses them; Hurd has different definitions.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2021-05-05 17:19:32 +02:00
..
2021-02-11 08:02:16 -03:00
2021-02-11 08:00:48 -03:00
2021-03-18 15:54:39 -03:00
2021-03-26 13:36:17 -03:00
2021-03-26 13:37:14 -03:00
2021-03-26 13:37:18 -03:00
2021-03-26 13:37:18 -03:00
2021-03-26 13:37:18 -03:00
2021-03-26 13:37:18 -03:00
2021-03-26 13:36:17 -03:00
2021-02-11 08:00:48 -03:00
2021-03-29 10:22:13 -03:00
2021-03-26 13:36:17 -03:00
2021-05-03 08:15:53 +02:00
2021-03-08 22:41:41 +01:00
2021-02-08 09:20:03 +01:00
2021-03-02 16:55:05 +01:00
2020-07-16 17:55:35 +02:00