setthreadtitle
Set the thread title
&reftitle.description;
boolsetthreadtitle
stringtitle
Sets the thread title.
&reftitle.parameters;
title
The title to use as the thread title.
&reftitle.returnvalues;
&return.success;
&reftitle.examples;
setthreadtitle example
Running the example below will change the thread title (visible with
ps c for example).
]]>
&example.outputs.similar;
&reftitle.seealso;
pcntl_fork
setproctitle