> 
> rif <[EMAIL PROTECTED]> writes:
> 
> > My current confusion is I do not understand the tradeoffs betwen use
> > sleep inside the process, as in Helmut Eller's example, or whether to
> > use something like mp:process-yield.  In my initial experiments, sleep
> > seems to DWIW and process-yield doesn't, but I don't really know why.
> 
> This all depends on how frequently you want your periodic operation to
> run. Why don't you only run it when it needs running, say, using a
> counting semaphore if it's processing a queue of items.
> 

The update-r function is used to update like graphics windows; the
desired behavior is that when I resize a graphics window or move
something over it, I want it to redraw automagically.  So I think I
just have to call it all the time at some short time-interval.

I still don't really grok the difference between process-yield and
process-wait, but I'll investigate a bit further on my own.  In any
case, I do have something that suits my immediate needs, thanks to the
help of everyone here, which, as always, I truly appreciate.

Cheers,

rif

Reply via email to