lua-users home
lua-l archive

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


>Is it save to access a lua state from different native threads?

No.

>If not is there an (easy?) way to allow multithreading for lua states?

Yes, it's just a matter of defining a couple of macros and recompiling.
See http://www.tecgraf.puc-rio.br/~diego/luathreads/
--lhf