Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!mit-eddie!genrad!decvax!decwrl!pyramid!prls!philabs!micomvax!musocs!mcgill-vision!mouse From: mouse@mcgill-vision.UUCP (der Mouse) Newsgroups: comp.lang.c Subject: Re: Fork and Join, Pipe in C Message-ID: <819@mcgill-vision.UUCP> Date: Mon, 22-Jun-87 23:00:02 EDT Article-I.D.: mcgill-v.819 Posted: Mon Jun 22 23:00:02 1987 Date-Received: Sat, 27-Jun-87 04:48:08 EDT References: <7737@brl-adm.ARPA> <1186@ius2.cs.cmu.edu> Organization: McGill University, Montreal Lines: 14 In article <1186@ius2.cs.cmu.edu>, edw@ius2.cs.cmu.edu (Eddie Wyatt) writes: > If the child processes that you are forking don't use much of the > code that the parent usings, I sugguest you use vfork and execl to > spawn processes. [vfork is faster but borrows the parent's address > space in an unclean way.] Unfortunately, doing vfork/exec also requires that you split your program up into multiple (binary) files and somehow teach one of them (the parent) how to compute a path pointing to the part to be executed by the child. der Mouse (mouse@mcgill-vision.uucp)