[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [PATCH] lua_forcereturn()
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 19 Jul 2008 14:40:44 -0300
> 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...
http://www.lua.org/source/5.1/ldebug.c.html#lua_sethook
This has been discussed before:
http://lua-users.org/lists/lua-l/2006-10/msg00275.html
That was a long thread and I don't recall the conclusion, if there was any...