lua-users home
lua-l archive

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


> The problem in your case might be that Lua has no native support for
> working with signals

But you can do it in C. The Lua standalone interpreter handles SIGINT signals
by setting up hooks to abort the running Lua program gracefully. See
	http://www.lua.org/source/5.1/lua.c.html#docall