[#BloombergLP-balb-PipeControlChannel-start-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/PipeControlChannel.adoc[PipeControlChannel]::start
:relfileprefix: ../../../
:mrdocs:

Open a named pipe having the specified `pipeName`, and start a thread to read messages and dispatch them to the callback specified at construction&period; Optionally specify `attributes` of the background processing thread&period; If `attributes` is not supplied, a default constructed `ThreadAttributes` object will be used&period; Return 0 on success, and a non&hyphen;zero value otherwise&period; In particular, return a non&hyphen;zero value if the pipe cannot be opened or if it is detected that another process is reading from the pipe&period; `pipeName` must be of the types `const char &ast;`, `char &ast;`, `bsl&colon;&colon;string`, `std&colon;&colon;string`, `std&colon;&colon;pmr&colon;&colon;string` (if supported), or `bslstl&colon;&colon;StringRef`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
start(char const* pipeName);
----


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