[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua dictionary mechanism
- From: Carlos Augusto Teixeira Mendes <cmendes@...>
- Date: Wed, 14 Oct 1998 12:33:55 -0300
>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. ?
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.