pthread_cleanup_pop

Removes a cleanup routine from the top of cleanup stack of the calling thread.

Library:LibC
Classification:POSIX
Service:Threads

Syntax

  #include <pthread.h> 
   
  void pthread_cleanup_pop (
     int   execute);
  

Parameters

execute

(IN) Specifies whether the cleanup routine should be executed or just removed with the following values:

  • Nonzero Execute the cleanup routine
  • Zero Remove the cleanup routine and do not execute it

See Also