qemu-devel
[Top][All Lists]
Advanced

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

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


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 1/2] coroutine: introduce coroutines
Date: Wed, 11 May 2011 15:45:39 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.9

On 05/11/2011 03:05 PM, Anthony Liguori wrote:

A very slow way, too (on Windows at least if you use qemu_cond...).

That doesn't mean you can't do a fiber implementation for Windows... but
having a highly portable fallback is a good thing.

I agree but where would you place it, since QEMU is only portable to POSIX and Windows?

osdep-$(CONFIG_POSIX) += coroutine-posix.c
osdep-$(CONFIG_WIN32) += coroutine-win32.c
osdep-??? += coroutine-fallback.c

:)

Paolo



reply via email to

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