10 #ifndef SCARAB_CANCELABLE_HH_ 11 #define SCARAB_CANCELABLE_HH_ virtual void do_cancellation()
bool is_canceled() const
check canceled state
void reset_cancel()
reset to non-canceled state
std::atomic< bool > f_canceled
virtual void do_reset_cancellation()
void cancel()
asynchronous cancel function