mirror of git://sourceware.org/git/glibc.git
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> |
||
|---|---|---|
| .. | ||
| bits | ||
| sys | ||
| Implies | ||
| Makeconfig | ||
| Makefile | ||
| Subdirs | ||
| aio_misc.h | ||
| dl-thread_gscope_wait.c | ||
| dl-tls_init_tp.c | ||
| dl-tunables.list | ||
| fork.c | ||
| futex-internal.h | ||
| gai_misc.h | ||
| internaltypes.h | ||
| jmp-unwind.c | ||
| libc-lock.h | ||
| libc-lockP.h | ||
| libc_start_call_main.h | ||
| lowlevellock-futex.h | ||
| lowlevellock.h | ||
| malloc-machine.h | ||
| proc_service.h | ||
| pthread-offsets.h | ||
| pthread.h | ||
| pthread_early_init.h | ||
| pthread_mutex_conf.h | ||
| setxid.h | ||
| stdio-lock.h | ||
| tcb-offsets.h | ||
| thrd_create.c | ||
| thread_db.h | ||
| timer_routines.h | ||
| tst-mqueue8x.c | ||