21 #include "test_thread.h" 58 usleep(random() % 100000);
61 BlockedTimingAspect::blocked_timing_hook_to_string(hook_));
virtual void finalize()
Finalize the thread.
virtual void log_info(const char *component, const char *format,...)=0
Log informational message.
Fawkes library namespace.
virtual void init()
Initialize the thread.
Thread class encapsulation of pthreads.
Logger * logger
This is the Logger member used to access the logger.
Thread aspect to use blocked timing.
WakeupHook
Type to define at which hook the thread is woken up.
SyncPointTestThread(const char *name, BlockedTimingAspect::WakeupHook hook)
Constructor.
virtual void loop()
Code to execute in the thread.