lua-users home
lua-l archive

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


Have anyone worked with Lua 3.1 in a win32 multithreaded enviroment. I was trying
to have a lua_state for each thread (By using the __declspec(thread) on
lua_state) but it seems to crash on me. Without anything I can get Lua to run
great in two thread but with a common Global scope - I want the global variables
to be thread specific (Actually trigger-code section specific). I'm compiling
with Watcom 11 - have not have time to try with VC++ 5.0 yet.

Thanks,

Erik Hougaard
erik@hougaard.com