logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

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

GNU CommonC++                                    Sun Dec 27 2020                            ost::Cancellation(3)

Constructor & Destructor Documentation

ost::Cancellation::Cancellation(Thread::Cancelcancel)ost::Cancellation::~Cancellation()

Detailed Description

       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.

Name

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

Synopsis

       #include <thread.h>

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

See Also