lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

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.

--
Fabio Mascarenhas

On Wed, Aug 20, 2008 at 11:06 PM, Hugo Schmitt <hugows@gmail.com> wrote:
(I tried kepler project list, but maybe this one is more appropriate)

Hi folks.
I don't know if remdebug's author reads this list, but I'm trying here first.

I 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,
hugo