Cancel all one‐shot events registered with this scheduler.
Synopsis
Declared in <bdlmt_timereventscheduler.h>
void
cancelAllEvents(bool wait = false);
Description
Cancel all the events. If the optionally specified wait is true, then ensure any event still in this scheduler is either cancelled or has been dispatched before this call returns. If this method is being invoked from the dispatcher thread then the wait is ignored to avoid deadlock.
Parameters
Name |
Description |
wait |
if true, wait until events are cancelled or dispatched |
Created with MrDocs