[#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&period; Return 0 on success, and a non&hyphen;zero value otherwise&period; If `shutdown` has not been called, this method will block indefinitely until another thread calls `shutdown`&period; Once `stop` has returned, `start` can be called again with the same or a different named pipe&period; Note that frequently user code will call `shutdown` and then immediately call `stop` on a `TaskManager` object&period;

== Synopsis

Declared in `&lt;balb&lowbar;pipetaskmanager&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
stop();
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
