lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Tue, 2 Apr 2019 at 12:00, Scott Morgan <> wrote:
On 02/04/2019 08:23, Italo Maia wrote:
I don't think there's anything in ANSI C that can handle that

Seems to be, but to use it in Lua you need to add it as a library. This is how I handled it look in the sleep directory. Works on OSX and Linux, I suspect that it will break on Windows (which I do not have access to)

sleep really does seem to be a glaring omission in Lua, along with time at the millisecond level, but nothing that can't be fixed :)