[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: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 16 Jul 2014 10:56:28 -0300
> thank you for this pointer; this looks very deadly to the LuaState ...
My impression was that you wanted to kill the whole family.
> is lua_close() signal-safe?
Probably not: lua_close probably calls the state's memory allocator to
free memory, which by default calls C's free, and also any finalizers,
which can do anything.