Create an event scheduler using the default dispatcher functor (see {The Dispatcher Thread and the Dispatcher Functor} in the component‐level documentation) and using the system monotonic clock to indicate the epoch used for all time intervals. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Synopsis

Declared in <bdlmt_eventscheduler.h>

explicit
EventScheduler(
    std::chrono::steady_clock const&,
    bslma::Allocator* basicAllocator = 0);

Created with MrDocs