BloombergLP::bdlmt::EventScheduler::rescheduleEvent

Reschedule the event referred to by handle to newEpochTime.

Synopses

Declared in <bdlmt_eventscheduler.h>

Reschedule the event referred to by handle to newEpochTime.

int
rescheduleEvent(
    Event const* handle,
    bsls::TimeInterval const& newEpochTime);
» more...

Reschedule the event referred to by handle to newEpochTime.

template<
    class t_CLOCK,
    class t_DURATION>
int
rescheduleEvent(
    Event const* handle,
    bsl::chrono::time_point<t_CLOCK, t_DURATION> const& newEpochTime);
» more...

Return Value

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

Parameters

NameDescription
handleevent to reschedule
newEpochTimenew absolute time at which to dispatch the event