lua-users home
lua-l archive

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


> I didn't know it was safe to call lua_sethook from another (OS) thread while a script was running. This is not the same situation as in the vanilla Lua interpreter, or is it?

No, it's not. lua.c calls lua_sethook from a signal handler.
--lhf