[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: First timer on cooperative multitasking
- From: Stefan Reich <stefan.reich.maker.of.eye@...>
- Date: Sat, 27 Aug 2011 16:05:16 +0200
Lua Lanes seems very neat for true multithreading. It separates each
thread ("lane")'s data from the other threads' data. So you don't get
the problems of a shared mutable state.
I actually plan to use Lua Lanes in Lua OS as soon as the need arises
to have real physical multitasking. I did some experiments and thus
far, Lanes seems to work well.
(Always better to check for yourself if libraries actually work as
advertised... :)
Cheers,
Stefan
On Sat, Aug 27, 2011 at 11:22 AM, Marc Balmer <marc@msys.ch> wrote:
> How difficult would it be to make Lua true multithreaded? I know that
> is against the intentions of the inventors, but have experiments been
> done in this direction?