What is the difference between a wait() and sleep() in threads? If you want a no busy wait for lua for use in frames for videogames or applications, perhaps wxlua or other libraries may provide less resource craving sleep functions. This function below doesn’t work like i want it to;

Recommended for you

Currently, it doesn’t wait, i