lua-users home
lua-l archive

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


	Now that I could create the text file, I need to have the script
pause for a few seconds before resuming.

I checked the archives for this list:
"NEWBIE Question: LUA wait() function?"


Since I cross-compile Lua on Ubuntu and run it on a uClinux appliance,
I need a portable, compact solution to pause a script.

Which solution would you recommend? Compiling Lua with a POSIX
library, such as luaposix? Using "socket.sleep(0.2)"? Other?

I was thinking of using those options in CFLAGS:

Thank you.