[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: Daniel Quintela <dq@...>
- Date: Mon, 13 Aug 2007 20:06:36 -0300
Duck escribió:
[...]
This is sort-of what LuaTask does. It's kind of like old-school
share-nothing parallelism (anyone remember the Transputer :-)
implemented inside Lua using OS-level threads, and with a built-in,
simple and inexpensive IPC/synchronisation mechanism using message
passing.
Errr... I am not so young... ;-)
The only problem with LuaTask is that (sorry, Daniel :-) the current
release version has an unremediated critical bug, and that there are
some question marks over its production-readiness from at least one
theoretical analysis, and from one practical report, recently
published on this list. But the core idea is very neat. Multithreaded
multitasking without all those !$@%^% mutexes:-)
Thanks... (I guess...)
LuaTask 1.6.2 is around the corner... I'm testing right now.
Regards,
DQ