BloombergLP::bdlmt::EventScheduler::cancelEventAndWait

cancelEventAndWait overloads

Synopses

Declared in <bdlmt_eventscheduler.h>

Cancel the event referred to by handle, release it, and wait.

int
cancelEventAndWait(EventHandle* handle);
» more...

Same as the preceding overload, for a recurring-event handle.

int
cancelEventAndWait(RecurringEventHandle* handle);
» more...

Cancel the event referred to by handle and wait.

int
cancelEventAndWait(Event const* handle);
» more...

Same as the preceding overload, for a recurring event.

int
cancelEventAndWait(RecurringEvent const* handle);
» more...

Return Value

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

Parameters

NameDescription
handleevent handle to cancel and release