Skip to content
Search

Pthread cleanup pop

lastmod 2019-12-20created 2019-12-203 edits

Removes a clean handler function.

About

If a thread was using some resource, it must handle things such as returning it before terminating. This kind of behavior can be performed by registering cleanup handler functions. These are the pthread_cleanup_push and pthread_cleanup_pop functions.

Synopsis

void pthread_cleanup_pop(int execute);

See also

Favorite site

author Zer0 sitemap