DOKK / manpages / debian 10 / libcommoncpp2-doc / ost_Cancellation.3.en
ost::Cancellation(3) Library Functions Manual ost::Cancellation(3)

ost::Cancellation - A class to automatically set the thread cancellation mode of a member function.

#include <thread.h>


Cancellation (Thread::Cancel cancel)
~Cancellation ()

A class to automatically set the thread cancellation mode of a member function.

When the member function returns and the automatic variable falls out of scope, the previous thread cancellation mode is restored.

Author:

David Sugar dyfet@gnu.org Automatic cancellation mode setting.

Generated automatically by Doxygen for GNU CommonC++ from the source code.

Wed Oct 31 2018 GNU CommonC++