lua-users home
lua-l archive

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

Hi All
Suppose I have Lua State L as a global variable in my C program.

If it is accessed and used by two different threads, is it required for me to protect the Lua State by using a semaphore/mutex.


Lua State internally has a semaphore/mutex to protect itself.

Please let me know.