[CM] sequence help

Carl Edwards carl.boingie at rcn.com
Fri Jul 4 15:25:19 PDT 2003


That works! Thank you, Rick.

I'll have to look up the old thread function to see what that did, but in
the meantime this is working just fine.

Thanks again,

Carl Edwards



> Subject: Re: [CM] sequence help
>

> you can use the 'finally' option to chain processes together like so:
>
> (define (doit )
>    (process repeat (random 300)
>             output (new ...)
>             wait (whatever)
>             finally (sprout (doit) (now))))
>
> that is, the last thing the current process does is to sprout a new
> process that starts at its current time.  a more genereal solution
> would be for me to reimpleent the functionality of the old 'thread'
> container. this is actually on my 'todo' list, unfortunately that list
> is very long!






More information about the Cmdist mailing list