BloombergLP::bdlmt::EventScheduler::rescheduleEventAndWait

Reschedule handle at newEpochTime and wait for completion.

Synopses

Declared in <bdlmt_eventscheduler.h>

Reschedule handle at newEpochTime and wait for completion.

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

Reschedule handle at newEpochTime and wait for completion.

template<
    class t_CLOCK,
    class t_DURATION>
int
rescheduleEventAndWait(
    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