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: 233
multithreading
|lua
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