AUI Framework  master
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
AThread::Interrupted Class Reference

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

#include <AUI/Thread/AThread.h>

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.