Path: news.cs.au.dk!not-for-mail From: Morten Grouleff Newsgroups: comp.lang.beta Subject: Re: FORK FAILURE: Only newly created systems may be forked. Date: 26 May 1999 15:37:28 -0000 Organization: University of Aarhus, Department of Computer Science (DAIMI) Lines: 39 Approved: mailtonews@cs.au.dk Distribution: world Message-ID: <19990526153728.1221.qmail@noatun.mjolner.dk> Reply-To: Morten Grouleff NNTP-Posting-Host: daimi.cs.au.dk X-Trace: xinwen.cs.au.dk 927733061 3728458 255.255.255.255 (26 May 1999 15:37:41 GMT) X-Complaints-To: news@cs.au.dk NNTP-Posting-Date: 26 May 1999 15:37:41 GMT Xref: news.cs.au.dk comp.lang.beta:11968 "Sascha Kimmel" writes: > Dummy:@|System > (# > do > cycle > (# > do > 'Concurrency!'->putLine; > 1->sleep; > #); > #); > > [...] > > do > > Dummy[]->fork; > [...] > Dummy[]->kill; > [...] > Dummy[]->fork; > > [...] > > then I get the following error message: > "FORK FAILURE: Only newly created systems may be forked." > > So how is it possible to "re-fork" a process? Create a new process, by changing dummy to be just a pattern, and changing the fork to &|Dummy[]->fork -- ** Morten Grouleff: ** ** Earthworm Jim PC: ** ** Mjølner Informatics: **