lua-users home
lua-l archive

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


> Where I can read about Lua's thread safety?

Lua states, created with lua_newstate or luaL_newstate are completely
separate and thread safe.

Lua threads, created with lua_newthread, are not thread safe because
they share data structures with their parent states. Do not confuse
Lua threads with OS threads.