_pthread_cleanup_push

Name

_pthread_cleanup_push -- establish cancellation handlers

Synopsis

#include <pthread.h>

void _pthread_cleanup_push(struct _pthread_cleanup_buffer *, void (*) (void *), void *);

Description

The _pthread_cleanup_push() function provides an implementation of the pthread_cleanup_push() macro described in POSIX 1003.1-2001 (ISO/IEC 9945-2003).

The _pthread_cleanup_push() function is not in the source standard; it is only in the binary standard.