document pthread_cancel.c