Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!linus!necntc!ames!oliveb!sun!gorodish!guy From: guy@gorodish.UUCP Newsgroups: comp.lang.c,comp.unix.questions Subject: Re: Fork and Join, Pipe in C Message-ID: <20616@sun.uucp> Date: Mon, 8-Jun-87 15:18:44 EDT Article-I.D.: sun.20616 Posted: Mon Jun 8 15:18:44 1987 Date-Received: Thu, 11-Jun-87 02:19:41 EDT References: <7737@brl-adm.ARPA> Sender: news@sun.uucp Followup-To: comp.unix.questions Lines: 25 Xref: utgpu comp.lang.c:2272 comp.unix.questions:2409 > I am currently working on my research using C concurrent programming > technique of fork & join and pipe. This isn't a C technique, it's a UNIX technique. I'm redirecting further discussion to comp.unix.questions/INFO-UNIX. > Are there any other ways of creating more than one child at a time. > The method I am using is read in the number of processes and use > this variable to determine the number of children to fork using > a simple FOR loop in C. No, there is no way in UNIX to create processes other than "fork", and that only creates one at a time. > Are there any books on these topics. There are lots of books on programming under UNIX, some of which will discuss this. There's a book by Brian Kernighan and Rob Pike, titled "The UNIX Programming Environment", which has been highly recommended by many people. (I don't know if it discusses this or not.) There is also a document called "UNIX Programming", by Kernighan and Ritchie, that comes with various versions of UNIX. Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com