lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On 2/2/06, Ben Sunshine-Hill <> 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."

// Chris