[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Random crashed with threaded application
- From: David Demelier <demelier.david@...>
- Date: Thu, 20 Jun 2013 22:21:21 +0200
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