On 12 jul 2006, at 11:25, Marco van de Voort wrote:

I doubt it. Note that it also probably needs enhancing of the
threadinterface with a giveuptimeslice functionality, something for which
now sleep(0) is abused.

sleep(0) is quite bad, because it may not necessarily give up any timeslice. At least very short nanosleeps seem to be implemented as spinning loops on Mac OS X, so maybe sleep(0) is the same.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to