[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_close() locks but never unlocks... ?
- From: Chris <coderight@...>
- Date: Thu, 2 Feb 2006 17:29:43 -0500
On 2/2/06, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
If each thread has its own separate Lua state, why do you need synchronization?
In your case, you don't need to define lua_lock and friends.
You only need synchronization if you're running *child* states in the threads.
Or am I missing something?
--lhf
The threads talk to each other and to other C based threads and therefore need synchronization between them.
--
// Chris