is there a sleep function that is
- allows for ctrl-C
- doesn't get stuck
- does not require a C extension
I tried busy, system call and sockets from http://lua-users.org/wiki/SleepFunction for the above reasons they don't work for me.
Is there a rock offering a simple C-programmed sleep?
It's for a very simple game world tick with the focus on demonstrating (other) principles, and ease of getting to run oneself.