lua-users home
lua-l archive

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


> > This should be portable, but you'll want a decent data structure that
> > sorts coroutines by wake-up time to do this.
> 
> Wow, that's great, it seems to a portable solution.
> 
> > It might be that copas does this, and if so you can steal some of
> > their code (or maybe just use copas?).
> 
> I'll see if copas satisfies me, thanks very much.

If you consider using Copas, then CopasTimer https://github.com/Tieske/CopasTimer can provide the timer capability.