embedding multiple lua instances in a multiple threaded program

Posted by anon on Stack Overflow See other posts from Stack Overflow or by anon
Published on 2010-06-10T20:54:02Z Indexed on 2010/06/11 1:22 UTC
Read the original article Hit count: 238

Filed under:
|

I have a program with 4 threads.

Within each thread, I do a luaL_newstate();

Each thread only has access to it's own lua instance.

Is there anything I need to worry about? [I.e. is there some hidden state that all lua instances share behind my back?]

Thanks!

© Stack Overflow or respective owner

Related posts about multithreading

Related posts about lua