Question about "Delay"
Posted: Thu Mar 06, 2025 9:11 am
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)?
What is the function of Delay(0)?
http://www.purebasic.com
https://www.purebasic.fr/english/
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.