24 #ifndef __ASPECT_BLOCKED_TIMING_EXECUTOR_H_ 25 #define __ASPECT_BLOCKED_TIMING_EXECUTOR_H_ 27 #include <aspect/blocked_timing.h> 41 unsigned int timeout_usec = 0) = 0;
45 virtual void try_recover(std::list<std::string> &recovered_threads) = 0;
virtual void wakeup_and_wait(BlockedTimingAspect::WakeupHook hook, unsigned int timeout_usec=0)=0
Wakeup thread for given hook and wait for completion.
virtual bool timed_threads_exist()=0
Check if any timed threads exist.
virtual void wait_for_timed_threads()=0
Wait for timed threads.
Fawkes library namespace.
virtual void interrupt_timed_thread_wait()=0
Interrupt any currently running wait_for_timed_threads() and cause it to throw an InterruptedExceptio...
WakeupHook
Type to define at which hook the thread is woken up.
virtual ~BlockedTimingExecutor()
Virtual empty destructor.
virtual void wakeup(BlockedTimingAspect::WakeupHook hook, Barrier *barrier=0)=0
Wakeup thread for given hook.
virtual void try_recover(std::list< std::string > &recovered_threads)=0
Try to recover threads.
A barrier is a synchronization tool which blocks until a given number of threads have reached the bar...