[#BloombergLP-bslmt-TimedCompletionGuard-2constructor-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/TimedCompletionGuard.adoc[TimedCompletionGuard]::TimedCompletionGuard :relfileprefix: ../../../ :mrdocs: Create the guard using the specified `basicAllocator` to supply memory. `failByAbort` is used when a set duration expires. == Synopsis Declared in `<bslmt_timedcompletionguard.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit TimedCompletionGuard(xref:BloombergLP/bslmt/TimedCompletionGuard/allocator_type.adoc[allocator_type] const& basicAllocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#