lua-users home
lua-l archive

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


What's the latest on this?

http://lua-users.org/lists/lua-l/2006-10/msg00427.html suggests that
lua_sethook is not, in fact, signal safe, contrary to the assertion in
the source (which also mentions "asynchronous use"). The manual makes
no guarantee at all.

I use lua_sethook in luaposix inside a signal handler, in order to
implement Lua signal handlers. Is there a safer way to achieve this?

-- 
http://rrt.sc3d.org