[#BloombergLP-balb-PipeTaskManager-stop] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/PipeTaskManager.adoc[PipeTaskManager]::stop :relfileprefix: ../../../ :mrdocs: Block until the background processing thread has shutdown (which must be initiated by a separate call to `shutdown`) then join the background thread, remove the named pipe, and return. Return 0 on success, and a non‐zero value otherwise. If `shutdown` has not been called, this method will block indefinitely until another thread calls `shutdown`. Once `stop` has returned, `start` can be called again with the same or a different named pipe. Note that frequently user code will call `shutdown` and then immediately call `stop` on a `TaskManager` object. == Synopsis Declared in `<balb_pipetaskmanager.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int stop(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#