I know how to use Delay(time) to pause the program so not to eat all the processor cycles, but...
What is the function of Delay(0)?
Question about "Delay"
Re: Question about "Delay"
It does a yield, a explained here: https://learn.microsoft.com/en-us/windo ... hapi-sleep
A value of zero causes the thread to relinquish the remainder of its time slice to any other thread that is ready to run. If there are no other threads ready to run, the function returns immediately, and the thread continues execution.
Re: Question about "Delay"
Thanks! 
Re: Question about "Delay"
Is this behaviour identical on all platforms?
<< Win-11 (x64: XEON + i5) / Mint linux (x64: i3) / MacOS Monterey (Intel x64) >>


