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 :-).