[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lua_close() locks but never unlocks... ?
- From: Chris <coderight@...>
- Date: Thu, 2 Feb 2006 17:09:31 -0500
I'm running threaded code and have defined the lua_Lock
functions. Each thread has it's own lua_State created via
lua_open and there is one global lock that they all use for
synchronization. The problem is that when one thread exits the
state is closed with lua_close. After that all the threads freeze
solid because it looks like lua_close calls lua_Lock but never unlocks.
Is this normal or what?
--
// Chris