|
> There is a library that provides a sleep function in milliseconds? I tried > using the posix.sleep() function but it only wait seconds instead > miliseconds. You want to bind to usleep. See http://lua-users.org/wiki/SleepFunction . Perhaps posix.sleep should accept fractional values and call usleep.