Luiz Henrique de Figueiredo wrote:
Not with the official API. What are you trying to accomplish?
I am trying to find/fix a bug in my code.
I have a 1:1 relationship between OS threads and Lua threads
and only one of the OS threads executes at a time.
I am using lua_resume(), all things start from C.
It appears that a garabge collect in thread A is causing the contents
of the thread stack in thread B to be collected.
This only happens under great stress ( a test program that creates
a million tables being executed in two different threads).