From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QK9js-0002a4-9k for qemu-devel@nongnu.org; Wed, 11 May 2011 09:46:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QK9jr-0002GZ-9x for qemu-devel@nongnu.org; Wed, 11 May 2011 09:46:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QK9jq-0002GV-Su for qemu-devel@nongnu.org; Wed, 11 May 2011 09:46:07 -0400 Message-ID: <4DCA9303.5040400@redhat.com> Date: Wed, 11 May 2011 15:45:39 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1305108925-26048-1-git-send-email-stefanha@linux.vnet.ibm.com> <1305108925-26048-2-git-send-email-stefanha@linux.vnet.ibm.com> <4DCA7B64.7000900@redhat.com> <4DCA8655.3070807@codemonkey.ws> <4DCA86A1.2020306@redhat.com> <4DCA89A9.8070000@us.ibm.com> In-Reply-To: <4DCA89A9.8070000@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/2] coroutine: introduce coroutines List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Kevin Wolf , Venkateswararao Jujjuri , Stefan Hajnoczi , qemu-devel@nongnu.org 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