BloombergLP::bdlmt::TimerEventScheduler::rescheduleEvent

Same as the preceding overload, with the specified key.

Synopsis

Declared in <bdlmt_timereventscheduler.h>

int
rescheduleEvent(
    Handle handle,
    EventKey const& key,
    bsls::TimeInterval const& newTime,
    bool wait = false);

Return Value

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

Parameters

NameDescription
handleidentifier of the event to reschedule
keykey uniquely identifying the event
newTimenew absolute dispatch time
waitif true, wait until the event is rescheduled or dispatched