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