lkml.org 
[lkml]   [1999]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Porting vfork()
From
Date
alan@lxorguk.ukuu.org.uk (Alan Cox) writes:

> So in theory its doable in glibc if anyone is feeling extremely clever

I don't think this is a good idea at all. There are too many programs
out there which are written incorrectly if vfork is defined this way.
You would break them just to allow a few other programs which are
_known_ and where the author is crazy enough to use this horrible
feature.

It would be much better to rewrite the function relying on the vfork
behaviour to use a thread for this. It's much cleaner and protable.

--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.365 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site