[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaJIT roadmap 2008
- From: "Fabio Mascarenhas" <mascarenhas@...>
- Date: Sun, 3 Feb 2008 16:29:05 -0200
Each coroutine has its own state, as each execution stack is tied to a state. The difference is that coroutines' states share some structures with their parent states. Debug hooks also aren't shared, for example.
On Feb 3, 2008 3:57 PM, Mark Meijer <email@example.com
FWIW, my little coroutine experiment involves only a single Lua state.
On 02/02/2008, Stephen Kellett <firstname.lastname@example.org
> I'm guessing the instruction table is small, could you have the
> instruction table per-state? Maybe only copy per-state when modified, so
> you'd start with one shared table. Or does this fail because some people
> like to have millions of lua states available at once for use with