lua-users home
lua-l archive

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


2013/6/20 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
>> I have a threaded application that randomly segfault at lua_pcall.
>
> Are you accessing the same Lua state in different threads?
> If so, this is not supported unless you rebuild Lua using global locks.
>

I use the same Lua state for different threads but each of the
lua_pcall is protected by mutexes. Is this enough?

--
Demelier David