BloombergLP::bslmt::TimedCompletionGuard::TimedCompletionGuard

Create the guard. Optionally specify a handler function that is invoked when a set duration expires. If handler is not specified, failByAbort is used. Optionally specify a basicAllocator used to supply memory. If basicAllocator is not specified, the currently installed default allocator is used.

Synopsis

Declared in <bslmt_timedcompletionguard.h>

TimedCompletionGuard();