24 #define PTHREAD_CANCEL_DISABLE 0 
   25 #define PTHREAD_CANCEL_ENABLE  1 
   27 #define PTHREAD_CANCEL_DEFERRED     0 
   28 #define PTHREAD_CANCEL_ASYNCHRONOUS 1 
   33 #define PTHREAD_CANCELED ((void *) -2) 
int pthread_setcancelstate(int state, int *oldstate)
Cancellation point are not supported, yet.
 
int pthread_setcanceltype(int type, int *oldtype)
Cancellation point are not supported, yet.
 
int pthread_cancel(pthread_t th)
Tells a pthread that it should exit.
 
void pthread_testcancel(void)
Exit the current pthread if pthread_cancel() was called for this thread before.
 
unsigned pthread_t
Datatype to identify a POSIX thread.