lua-users home
lua-l archive

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


>I was thinking of creating a separate lua interpreter instance that would
>be for just storing global variables, and then I would just use a 
>semaphore to block so that only one other thread could access it at once.
>But then I have to duplicate the variable instance to prevent lua_Objects
>from this instance to being passed back to other threads, which would
>no longer synchronize on the semaphore used to prevent concurrent access.
>
>Maybe this will just have to wait for a multithreaded lua. ?
>

Hi,

I am currently working in a monitor construct that will be incorporated in
LuaMT (the multithreaded version of Lua).  I expect to release a version of
it soon.  It will be announced here in the list.

[]s,
Carlos Augusto.