On Wednesday 12 July 2006 11:10, Marco van de Voort wrote: > > > > spinning loops on Mac OS X, so maybe sleep(0) is the same. > > > > > > Do you know a correct way of doing this on *nix? > > > > "sched_yield()"? Seems to be POSIX, so I suppose it's available on > > most Unices. > > Yes, and not so recent ('93) that it is risky. At least FreeBSD seems > to have it.
Footer of the man-page here says: |Linux 1.3.81 1996-04-10 SCHED_YIELD(2) Vinzent. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal