[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: What's the difference between a "coroutine" and a "thread" in Lua?
- From: Rob Kendrick <lua-l@...>
- Date: Mon, 13 Aug 2007 19:27:17 +0100
Stefan Sandberg wrote:
> "Real" preemptive threading is something that should be incorporated
> deeper in the lua core though, as well as someone giving Mike Pall a
> 64bit cpu!, since both of those are utterly vital in the very near
> future...
Certainly there have been occasions where I'd have liked Lua to have
some form of internal pre-emptive multitasking on the op-code level.
Obviously, this wouldn't be able to pre-empt threads if they were
currently in C code, but it would still be useful for certain tasks.
Perhaps even some evil scheme for allowing multi-tasking between
multiple Lua states with such a scheme could be even more useful?
B.
- References:
- What's the difference between a "coroutine" and a "thread" in Lua?, John Klimek
- Re: What's the difference between a "coroutine" and a "thread" in Lua?, Asko Kauppi
- Re: What's the difference between a "coroutine" and a "thread" in Lua?, Gregg Reynolds
- Re: What's the difference between a "coroutine" and a "thread" in Lua?, Ana Lucia Moura
- Re: What's the difference between a "coroutine" and a "thread" in Lua?, Gregg Reynolds
- Re: What's the difference between a "coroutine" and a "thread" in Lua?, David Given
- Re: What's the difference between a "coroutine" and a "thread" in Lua?, Gregg Reynolds
- Re: What's the difference between a "coroutine" and a "thread" in Lua?, David Given
- Re: What's the difference between a "coroutine" and a "thread" in Lua?, Gregg Reynolds
- Re: What's the difference between a "coroutine" and a "thread" in Lua?, Tony Finch
- Re: What's the difference between a "coroutine" and a "thread" in Lua?, Asko Kauppi
- Re: What's the difference between a "coroutine" and a "thread" in Lua?, Stefan Sandberg