[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Random crashed with threaded application
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 20 Jun 2013 18:25:01 -0300
> So does the Lua VM store some static variables or so? Why it's not
> supported? My naive thoughts let me understand that if I use the state
> and leave it just like when I found it, it should continue working.
The Lua VM does not use static variables but its data structures are not
thread-safe. For instance, two threads passing a string to the Lua VM
could mess with the string hash table.