Path: news.cs.au.dk!not-for-mail From: "Sascha Kimmel" Newsgroups: comp.lang.beta Subject: FORK FAILURE: Only newly created systems may be forked. Date: 26 May 1999 15:11:20 -0000 Organization: University of Aarhus, Department of Computer Science (DAIMI) Lines: 45 Approved: mailtonews@cs.au.dk Distribution: world Message-ID: <19990526151120.888.qmail@noatun.mjolner.dk> Reply-To: "Sascha Kimmel" NNTP-Posting-Host: daimi.cs.au.dk X-Trace: xinwen.cs.au.dk 927731500 3778485 255.255.255.255 (26 May 1999 15:11:40 GMT) X-Complaints-To: news@cs.au.dk NNTP-Posting-Date: 26 May 1999 15:11:40 GMT Xref: news.cs.au.dk comp.lang.beta:11967 Hello (again), thank you very much for your quick help regarding the sound implementation with BETA. Now I have a question about concurrency. If I have a process like this (well, it' s really a stupid example ;-) : 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? I want to start and stop a process in my program whenever I want - how can I? Thank you in advance! Regards, Sascha Kimmel kimmel@tricos.com