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.

-- 
Rahul Jain
[EMAIL PROTECTED]
Professional Software Developer, Amateur Quantum Mechanicist


Reply via email to