On 08/29/2012 09:42 AM, Gavin Lambert wrote:
To get "real" fork behaviour out of vfork (such that both parent and child
are running simultaneously), you must make the child process call one of the
exec functions (usually as soon as possible after the vfork).
"Real fork behavior" also includes creating threads (parent and child
share memory, open files and other stuff). But this is better achieved
using Posix Threads provided by ptheradlib. I suppose pthreadlib is
available for nearly all archs.
-Michael
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev