[#BloombergLP-balb-PipeTaskManager-2constructor-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/PipeTaskManager.adoc[PipeTaskManager]::PipeTaskManager :relfileprefix: ../../../ :mrdocs: Create a task manager that uses the handlers of the specified shared `controlManager`. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. The `start` method must be called successfully before messages will be received (on a separate thread created by `start`). Note that the name of the message pipe is supplied as an argument to `start`. Also note that the handlers of `controlManager` can be manipulated via the return value of the `controlManager` method. Finally note that the allocator of `controlManger` need not equal `basicAllocator`. == Synopsis Declared in `<balb_pipetaskmanager.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit PipeTaskManager( xref:bsl/shared_ptr-0a.adoc[bsl::shared_ptr<ControlManager>]& controlManager, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#