Uh, , vfork() Linux, ( , ).
, (snd ), vfork() , , execve() _exit() ( , exit() vfork()).
, vfork() , exec*() _exit(). , vfork() Linux, .
So, as you can see, there are many restrictions on what you can do when sharing memory and returning la fork(): there is a very good reason why thread creation is usually done by calling a function .
source
share