On 17 Jun, 2014, at 23:13 , Helmut Gruber <
hgr...@gmx.net> wrote:
> Sorry for this ambiguous question.
> My concern is: when I use liblua.dll in a multithreaded C/C++ application, or even one of the llthread/llthread2 modules with Lua itself, and each thread spawns a new Lua state, with it´s own set of modules - are there any known implications to be aware of?
> This is not so much a Lua-ish question, it´s more about the C runtime environment that is being used: MSVCR.dll...
however there are no issues with the MinGW built binaries that I know of in that context. I can add an MSVC specific threadsafe option that links in the thread library but I have no way of testing that it has any effect on thread safety in Visual Studio.
As usual, test cases and patches are welcome if you find any problems with the build.