Hi all,

anybody knows if, when doing something like:

(Delay forMilliseconds: n) wait

It is possible for the Delay to return immediately if n is small enough or do we have a guaranteed behavior of at least a 'yield' equivalent?

I'm looking into active polling for parallel stuff and I noticed that a busy loop with Processor yield may result in more or less locking the vm since it only gives scheduling to processes which have a higher or equal priority, so this is why I'm looking into using Delay wait instead. But I'd like the delay to be as short as possible for performance reason while allowing lower priority processes a chance to run.

Thanks,

Thierry


Reply via email to