lua-users home
lua-l archive

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

> but is it 'officially' safe to call lua_sethook() asynchronously (from
> another thread, when lua_lock/lua_unlock are not defined)?

That's certainly the intention, as the comment just before the definition
of lua_sethook says...

This has been discussed before:

That was a long thread and I don't recall the conclusion, if there was any...