 | | Syntax: To set the cancellation state of a thread on an implementation that conforms to the final standard, you call pthread_setcancelstate with either the PTHREAD_CANCEL_ENABLE or PTHREAD_CANCEL_DISABLE constant. In a Draft 4 implementation, you call pthread_setcancel with either the CANCEL_ON or CANCEL_OFF constant (to enable or disable cancellation, respectively). | |
|