|
> The function would seem to indicate that lua_lock when usedYes. The idea would be to control multiple C threads running multiple
> should be something like the following operating on a mutex stored in
> global_State, is this correct?
> lock_mutex(G(L)->mutex)
Lua threads in the same global state. So, all Lua threads in a
global state must share the same lock.
-- Roberto