autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [configure.ac/uClinux] Adding code for fork/vfork?


From: Bob Friesenhahn
Subject: Re: [configure.ac/uClinux] Adding code for fork/vfork?
Date: Fri, 15 Apr 2011 17:53:24 -0500 (CDT)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Fri, 15 Apr 2011, Mike Frysinger wrote:

If you do not want to "force" people to change their code, you will
probably need to offer a "stub" fork() to link against on non-MMU CPUs.

the majority of the time, it isnt just fork() that needs to change.  any
exit() in the child needs to be changed to _exit() too.

The sole purpose of vfork is to immediately invoke exec() Any other purpose is forbidden. In what case would an exit even be required?

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]