pthread_cleanup_push_defer_np (3) Linux Manual Page
pthread_cleanup_push_defer_np, pthread_cleanup_pop_restore_np – push and pop thread cancellation clean-up handlers while saving cancelability type Synopsis #include <pthread.h> void pthread_cleanup_push_defer_np(void (*routine)(void *), void *arg); void pthread_cleanup_pop_restore_np(int execute); Compile and link with -pthread. Feature Test Macro Requirements for glibc (see feature_test_macros(7)): pthread_cleanup_push_defer_np(), pthread_cleanup_pop_defer_np(): _GNU_SOURCE Description These functions are the same as pthread_cleanup_push(3) and pthread_cleanup_pop(3), except for the…
