Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::operation_canceled Class Reference

Exception thrown when cooperative cancellation is observed. More...

#include <thread_pool.H>

Inheritance diagram for Aleph::operation_canceled:
[legend]
Collaboration diagram for Aleph::operation_canceled:
[legend]

Public Member Functions

 operation_canceled ()
 
 operation_canceled (const std::string &message)
 

Detailed Description

Exception thrown when cooperative cancellation is observed.

This exception is used by CancellationToken and higher-level helpers such as channels or parallel algorithms when an operation stops because a cancellation request was signaled.

Definition at line 140 of file thread_pool.H.

Constructor & Destructor Documentation

◆ operation_canceled() [1/2]

Aleph::operation_canceled::operation_canceled ( )
inline

Definition at line 143 of file thread_pool.H.

◆ operation_canceled() [2/2]

Aleph::operation_canceled::operation_canceled ( const std::string &  message)
inlineexplicit

Definition at line 146 of file thread_pool.H.


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