commonlib
timerthread.h File Reference

Provides a mechanism for executing a method on a thread pool thread at specified intervals. More...

#include "threadex.h"
#include <atomic>
#include <mutex>
#include <functional>
#include <condition_variable>
#include <optional>

Go to the source code of this file.

Classes

class  TimerThread
 Provides a mechanism for executing a method on a thread pool thread at specified intervals. More...
 

Enumerations

enum  TimerMode : int { FixedDelay = 0, FixedRate = 1 }
 

Detailed Description

Provides a mechanism for executing a method on a thread pool thread at specified intervals.

Author
Tomaž Kos
Date
16/01/2018
Version
1.0