AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
AThread::Interrupted Class Reference

Exception that is thrown by AThread::interruptionPoint(), if interruption is requested for this thread. Handled by AThread::start. More...

Detailed Description

Exception that is thrown by AThread::interruptionPoint(), if interruption is requested for this thread. Handled by AThread::start.

Public Member Functions

void needRethrow () const noexcept
 Schedules AThread::Interrupted exception to the next interruption point. Sometimes you could not throw exceptions (i.e. in a noexcept function or destructor). In this case you may call needRethrow in order to throw Interrupted exception at the next interruption point.
 

#include <AUI/Thread/AThread.h>


The documentation for this class was generated from the following file: