[#BloombergLP-bdlmt-TimerEventScheduler-2constructor-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/TimerEventScheduler.adoc[TimerEventScheduler]::TimerEventScheduler :relfileprefix: ../../../ :mrdocs: Construct an event scheduler with the default dispatcher and realtime clock. == Synopsis Declared in `<bdlmt_timereventscheduler.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit TimerEventScheduler(xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- == Description Construct an event scheduler using the default dispatcher functor (see the "The dispatcher thread and the dispatcher functor" section in component‐level doc) and use the realtime clock epoch for all time intervals (see []Clock‐Types) ). Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. Note that the maximal number of scheduled non‐recurring events and recurring events defaults to an implementation defined constant. == Parameters [cols="1,4"] |=== | Name| Description | *basicAllocator* | memory allocator; null uses the default |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#