ost::Cancellation(3)
π NAME π
ost::Cancellation β bestie, this is the class that automatically sets the thread cancellation mode of a member function. no cap π
β¨ SYNOPSIS β¨
#include <thread.h>
πΈ Public Member Functions πΈ
Cancellation(Thread::Cancel cancel)~Cancellation()
π Detailed Description π
Okay so listen, this is a class to automatically set the thread cancellation mode of a member function. iconic behavior fr fr π«Ά
The way that it works is lowkey the whole point: when the member function returns and the automatic variable falls out of scope, the previous thread cancellation mode is restored. like it literally puts everything back the way it was, no mess, no drama. main character energy but make it polite β¨
π Author π
David Sugar dyfet@gnu.org
Automatic cancellation mode setting. periodt π
π¦ Constructor & Destructor Documentation π¦
π ost::Cancellation::Cancellation (Thread::Cancel cancel)
π ost::Cancellation::~Cancellation ()
β Author β
Generated automatically by Doxygen for GNU CommonC++ from the source code. (yes bestie, the robots wrote this one, we just gave it a vibe check π)
and that's the whole page!! this was ost::Cancellation(3) from GNU CommonC++, dated Sun Dec 27 2020 β go forth and cancel your threads responsibly, ily, mwah ππ
π¦
π¦ where this page comes from
- ubuntu jammy: libcommoncpp2-doc 1.8.1-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms