[#BloombergLP-bdlmt-EventScheduler-stop]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/EventScheduler.adoc[EventScheduler]::stop
:relfileprefix: ../../../
:mrdocs:

Stop dispatching events on this scheduler&period;

== Synopsis

Declared in `&lt;bdlmt&lowbar;eventscheduler&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
stop();
----

== Description

End the dispatching of events on this scheduler (but do not remove any pending events), and wait for any (one) currently executing event to complete&period; If the scheduler is already stopped then this method has no effect&period; This scheduler can be restarted by invoking `start`&period; The behavior is undefined if this method is invoked from the dispatcher thread&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
