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