in reply to Re^12: Forking Clients
in thread Forking Clients

I assume in the instances where I don't need the information, lets say for example I kick of some command blindly, then I can just not do a join for it. Is this correct?

If there is nothing useful returned or you just aren't interested in what is, just detach it at the point of creation:

threads->create( ...)->detach;

And any return will be discarded.

If you're not sure if you will want the returns or not, start it in the normal way and decide later. If you want it, do the join. If you don't detach it as soon as you know that.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."