[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua_close() locks but never unlocks... ?
- From: Chris <coderight@...>
- Date: Thu, 2 Feb 2006 20:11:30 -0500
On 2/2/06, Ben Sunshine-Hill <email@example.com> wrote:
I think perhaps you are not implementing lua_lock() and lua_unlock()
correctly. The lua_state is always passed as a parameter into these
functions, so that locks do NOT have to be shared between different
Possibly, but I'm just following the Thread Tutorial on the users wiki:
"Avoid the mistake of associating
the mutex with a specific Lua state."