lua-users home
lua-l archive

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


> 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.