On Fri, May 13, 2011 at 11:32 AM, Paolo Bonzini 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 but it has been
>> significantly rewritten by Kevin Wolf to use
>> setjmp()/longjmp()
On 05/13/2011 11:26 AM, Stefan Hajnoczi wrote:
This coroutines implementation is based on the gtk-vnc implementation
written by Anthony Liguori but it has been
significantly rewritten by Kevin Wolf to use
setjmp()/longjmp() instead of the more expensive swapcontext().
Since in the future we'l
From: Kevin Wolf
Asynchronous code is becoming very complex. At the same time
synchronous code is growing because it is convenient to write.
Sometimes duplicate code paths are even added, one synchronous and the
other asynchronous. This patch introduces coroutines which allow code
that looks sy