[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua_lock and lua_unlock implementation
- From: liam mail <liam.list@...>
- Date: Fri, 6 May 2011 15:12:58 +0100
On 6 May 2011 14:35, Roberto Ierusalimschy <firstname.lastname@example.org>
> 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?
Lua threads in the same global state. So, all Lua threads in a
global state must share the same lock.
Thanks for the clarification Roberto.