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);

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);

Return Value

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

Parameters

Name

Description

handle

event to reschedule

newEpochTime

new absolute time at which to dispatch the event

Created with MrDocs