Re: Some questions about linux kernel.

From: Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Date: Thu Mar 16 2000 - 05:55:36 EST


In message <3141.109T950T10773650rask-linux@kampsax.k-net.dk>, "Rask
Ingemann L
ambertsen" writes:
+-----
| vfork() can replace fork() in pretty much any variety of fork()/exec()
| or fork()/wait(). This covers the wast majority of uses of fork(). The
+--->8

...as long as you don't need to make any function calls with side effects
and the exec() ALWAYS succeeds; otherwise the child trashes the parent.

vfork() is a bug.

-- 
brandon s. allbery	   os/2,linux,solaris,perl	allbery@kf8nh.apk.net
system administrator	   kthkrb,heimdal,gnome,rt	  allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering			kf8nh
    We are Linux. Resistance is an indication that you missed the point.

- 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/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:17 EST