qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 1/4] coroutine: introduce coroutines


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v3 1/4] coroutine: introduce coroutines
Date: Fri, 13 May 2011 12:19:59 +0100

On Fri, May 13, 2011 at 11:32 AM, Paolo Bonzini <address@hidden> wrote:
> On 05/13/2011 11:26 AM, Stefan Hajnoczi wrote:
>>
>> This coroutines implementation is based on the gtk-vnc implementation
>> written by Anthony Liguori<address@hidden>  but it has been
>> significantly rewritten by Kevin Wolf<address@hidden>  to use
>> setjmp()/longjmp() instead of the more expensive swapcontext().
>
> Since in the future we'll have at least three implementations of coroutines
> (ucontext, win32 fibers, threads) can you squash in something like the
> attached to allow "subclassing" of coroutines using DO_UPCAST)?  Resolving
> conflicts with 4/4 should be trivial

Yes, I'll tweak your patch and add it.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]