OT: linux clone() and errno

Tom Horsley horsley1953 at gmail.com
Tue Sep 7 13:46:00 UTC 2010


On Tue, 07 Sep 2010 14:33:51 +0100
T. Horsnell wrote:

> If I use clone() to create a new thread in a process, the child thread has
> the same errno as the parent. Is there any way round this, or do I have to
> move to pthreads?

Well, you could write some code as insanely complex as pthreads to
provide the same functionality, or you could use pthreads :-).


More information about the users mailing list