ost::Cancellation(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

πŸŽ€ 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