[fpc-pascal] Please Help - Need ONE HINT - Trying to get

Marc Santhoff M.Santhoff at t-online.de
Sat Sep 16 16:22:42 CEST 2006


Am Samstag, den 16.09.2006, 09:54 -0400 schrieb Jason P Sage:
> >Jason Sage wrote:
> > Hi all - and thanks to who ever can respond in advance.
> > 
> >  
> > 
> > I have a Server Like App - I need the equivalent of sched_yield
> >
> >Tried sleep(0); yet ?
> >
> >
> > Micha
> 
> Yes. Sleep has been added where appropriate. I didn't know to try Sleep
> ZERO. That sounds better than my Sleep(10). Thank You for that suggestion.

You're maybe looking for fpNanoSleep() on Linux.

HTH,
Marc





More information about the fpc-pascal mailing list