[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How can I do sethook() to all coroutines of a Lua state?
- From: Oliver Kroth <oliver.kroth@...>
- Date: Wed, 16 Jul 2014 15:29:38 +0200
Just saw lua_lock() and lthe description of it and ua_unlock() on
stackoverflow:
http://stackoverflow.com/questions/3010974/purpose-of-lua-lock-and-lua-unlock
--
Oliver
Am 16.07.2014 15:16, schrieb Oliver Kroth:
Question: is lua_close() signal-safe? I.e. can another (operating
system) task interrupt the Lua interpreter executing the state L and
call lua_close(L), no matter in which state the Lua interpreter was?
What if the interpreter was in the middle of a GC?