[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Idea for an event loop library
- From: Daurnimator <quae@...>
- Date: Sun, 13 May 2012 11:40:22 +1000
On 13 May 2012 02:22, Mark Hamburg <mhamburg.ml@gmail.com> wrote:
> [*] This is a "fun" piece of code to write if you want to leave coroutines working for other cases. You basically need to patch resume and yield to recognize and pass magic cookies to decide how far up the resume chain to yield.
I've done something like that; see https://gist.github.com/1384850