[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [5.1.4] Most portable solution to "sleep"?
- From: Steve Litt <slitt@...>
- Date: Fri, 18 Feb 2011 13:03:03 -0500
On Friday 18 February 2011 07:55:45 Gilles Ganault wrote:
> Hello,
>
> Now that I could create the text file, I need to have the script
> pause for a few seconds before resuming.
Not necessarily the best solution, but it's possible for you to use C to
create a Lua sleep() function. See this:
http://www.troubleshooters.com/codecorn/lua/lua_lua_calls_c.htm#_Make_an_msleep_Function
HTH
SteveT
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt