35 #ifndef THREAD_CANCELLATION_HPP 36 #define THREAD_CANCELLATION_HPP 38 #include "../my_config.h" 101 static void cancel(pthread_t tid,
bool x_immediate, U_64 x_flag);
107 static bool cancel_status(pthread_t tid);
113 static bool clear_pending_request(pthread_t tid);
146 static pthread_mutex_t access;
147 static bool initialized;
148 static std::list<thread_cancellation *> info;
149 static std::list<fields> preborn;
void check_self_cancellation() const
Checkpoint test : whether the current libdar call must abort or not.
are defined here basic integer types that tend to be portable
void block_delayed_cancellation(bool mode)
static U_I count()
method for debugging/control purposes
virtual ~thread_cancellation()
the destructor
class to be used as parent to provide checkpoints to inherited classes
thread_cancellation()
the constructor
static void init()
mandatory initialization static method
libdar namespace encapsulate all libdar symbols