PIP 5.6.1
Platform-Independent Primitives
Classes
pitimer.h File Reference

Timer object backed by an internal thread. More...

#include "piconditionvar.h"
#include "piobject.h"
#include "pisystemtime.h"

Classes

class  PITimer
 Periodic timer that emits ticks from an internal worker thread. More...
 

Detailed Description

Timer object backed by an internal thread.

PITimer uses an internal PIThread to generate best-effort periodic ticks. When queued delivery is enabled, the timer also drains events addressed to it as performer through maybeCallQueuedEvents() on the main tick.