[fpc-pascal] Threading in FPC DOS

Marco van de Voort marcov at stack.nl
Wed Jul 12 13:10:45 CEST 2006


> > > 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.



More information about the fpc-pascal mailing list