[fpc-pascal]Delay replacement...

Peter Vreman peter at freepascal.org
Tue Nov 28 13:06:45 CET 2000

> CPU load. So I tried to implement crt (or ncrt) to have delay() available
> and to free up hereby the CPU for some seconds.
> This shall allow the other instance of the program to get more CPU power
> and finish quicker.
> However, when I use *crt, the program does very nasty things, but not what
> I want, so I cannot use crt/ncrt. 
> How can I force a scheduling to sleep for a while?

Use Sleep() or Select()

More information about the fpc-pascal mailing list