[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: coroutines in remdebug
- From: "Fabio Mascarenhas" <mascarenhas@...>
- Date: Thu, 21 Aug 2008 17:10:28 -0300
Convenience. With coroutines I could write the engine's listener loop (that answers commands from the controller) as an actual loop. It could be implemented as a function that gets called by the debug hook, but IMHO it would make the code more complex.
On Wed, Aug 20, 2008 at 11:06 PM, Hugo Schmitt <firstname.lastname@example.org>
(I tried kepler project list, but maybe this one is more appropriate)
I don't know if remdebug's author reads this list, but I'm trying here first.
looked at remdebug's source (engine.lua on this case) but could not
find out why are coroutines needed for this implementation.
Anyone cares to explain?
Thanks a lot,