lua-users home
lua-l archive

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


Lua socket can count milliseconds, check the function microtime() from Nutria Seawolf:

https://gitorious.org/nutria/seawolf/blobs/master/calendar/init.lua

Blessings!

--
Fernando Paredes García, http://www.develcuy.com
+51 1 9 8991 7871, Calle Santa Catalina Ancha #377, Cusco - Perú

** Before printing this message, please consider your commitment with the environment, taking care of it depends on you.
** Antes de imprimir este mensaje piensa en tu compromiso con el medio ambiente, protegerlo depende de tí.


---- On Mon, 15 Aug 2011 12:57:01 -0500 startx<startx@plentyfact.org> wrote ----

On Mon, 15 Aug 2011 10:25:41 -0300
Igor Medeiros <igorosbergster@gmail.com> wrote:

> Hi,
> 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.
>
> Thanks.

you can also use

http://projects.plentyfact.org/wiki/lua-sleep/Introduction

startx