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

`start` overloads

== Synopses

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

Open a named pipe and start a thread to dispatch messages&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
xref:BloombergLP/balb/PipeControlChannel/start-0d.adoc[start](char const* pipeName);
----

[.small]#xref:BloombergLP/balb/PipeControlChannel/start-0d.adoc[_» more&period;&period;&period;_]#

Open a named pipe and start a thread to dispatch messages&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STRING&lowbar;TYPE&gt;
int
xref:BloombergLP/balb/PipeControlChannel/start-0e.adoc[start](STRING&lowbar;TYPE const& pipeName);
----

[.small]#xref:BloombergLP/balb/PipeControlChannel/start-0e.adoc[_» more&period;&period;&period;_]#

Open a named pipe and start a thread with the given attributes&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
xref:BloombergLP/balb/PipeControlChannel/start-0a.adoc[start](
    char const* pipeName,
    xref:BloombergLP/bslmt/ThreadAttributes.adoc[bslmt::ThreadAttributes] const& attributes);
----

[.small]#xref:BloombergLP/balb/PipeControlChannel/start-0a.adoc[_» more&period;&period;&period;_]#

Open a named pipe and start a thread with the given attributes&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STRING&lowbar;TYPE&gt;
int
xref:BloombergLP/balb/PipeControlChannel/start-02.adoc[start](
    STRING&lowbar;TYPE const& pipeName,
    xref:BloombergLP/bslmt/ThreadAttributes.adoc[bslmt::ThreadAttributes] const& attributes);
----

[.small]#xref:BloombergLP/balb/PipeControlChannel/start-02.adoc[_» more&period;&period;&period;_]#

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pipeName*
| name of the named pipe to open
| *attributes*
| attributes of the background processing thread
|===


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