pthread_testcancel

Creates a cancellation point in the calling thread.

Library:LibC
Classification:POSIX
Service:Threads

Syntax

  #include <pthread.h>
   
  void  pthread_testcancel ( void );
  

Remarks

The pthread_testcancel function has no effect if cancellation is disabled.

See Also

pthread_setcancelstate