OT: linux clone() and errno

T. Horsnell tsh at mrc-lmb.cam.ac.uk
Tue Sep 7 13:33:51 UTC 2010


Apologies for the OT query - if you know a better place to ask, please tell me.

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?

Cheers,
Terry


More information about the users mailing list