[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Fri, 19 Mar 2004 13:39:03 +0000 (UTC) 
Subject:concurrent processes 
From:ug57dsm 
Volume-ID: 

Hi,

I have been trying to get concurrent processes running in pop11, but so 
far have only been able to start a new process whilst suspending the 
current running process. This is what I have tried (in a very simplified 
form to illustrate the problem).

define p();
     while true do
         pr("t");
     endwhile;
enddefine;

lvars proc = consproc(0, p);
;;; This doesn't run concurrently!!!
runproc(0, proc);

while true do
     pr("m");
endwhile;

I thought this would be similar to if(fork()){...}else{...} in C, but 
here the code never gets to the pr("m"); statement. Can someone point me 
to the correct help file for concurrent processes as it seems I got the 
wrong one?

thanks,

david.

-- 
=================================================
  The future of HTML mail is clearly > /dev/null.
=================================================
  Two of the most famous products of Berkeley are
LSD and Unix. I don t think that is a coincidence
=================================================