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.
The MP package redefines SLEEP with a thread-aware variant which
basically calls MP:PROCESS-WAIT-WITH-TIMEOUT and indirectly
MP:PROCESS-YIELD. PROCESS-WAIT{-WITH-TIMEOUT} is probably also useful
for your purpose.
Helmut.