BloombergLP::bdlmt::TimerEventScheduler::cancelEvent

cancelEvent overloads

Synopses

Declared in <bdlmt_timereventscheduler.h>

Cancel the event identified by the specified handle.

int
cancelEvent(
    Handle handle,
    bool wait = false);
» more...

Same as the preceding overload, with the specified key.

int
cancelEvent(
    Handle handle,
    EventKey const& key,
    bool wait = false);
» more...

Return Value

0 on successful cancellation, and a non-zero value otherwise

Parameters

NameDescription
handleidentifier of the event to cancel
waitif true, wait until the dispatcher has resumed
keykey uniquely identifying the event