[CM] stop and sprout in one block

Antoine antoinedaurat at googlemail.com
Tue May 21 00:18:40 PDT 2013


Hello,

I would like to stop all running processes and then sprout the next ones
 on a single evaluation. 

(define (proc)
 (process repeat 100 do
          (print (pick 1 2))
          (wait .5)
  ))

(begin
(stop)
(sprout (proc))
)

This seems to even stop (proc) from being sprouted!
I can't use id's because it would be too much of a trouble naming 
and keeping track of all the 
processes I am sprouting each time... I just would like to "flush" 
and keep on.

Thank you for your time and your reply!

Antoine



More information about the Cmdist mailing list