[cap-talk] Lua, Javascript, and the Object Capability Model

James Graves ansible at xnet.com
Thu Jul 30 15:49:19 EDT 2009


James Graves wrote:
>
> If you want to go between threads, that's going to be analogous to 
> talking cross-vat.
>   


Just to be clear here... I mean different threads as in different POSIX 
threads.  So the state is maintained in different lua_State variables.

When using coroutines (called threads) from the same Lua instance, they 
can share references to data easily.

James


More information about the cap-talk mailing list