Skip to contentSkip to conversation

coroutine: Disable coroutine pool for w32, w64 (fix regression)

PATCH New Stefan Weil 1 participant 1 message Sep 27, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 coroutine: Disable coroutine pool for w32, w64 (fix regression)

Since commit 402397843e20e35d6cb7c80837c7cfdb19ede591 qemu-system-i386 and qemu-system-x86_64 for w32 / w64 abort with an assertion (qemu-coroutine-lock.c:99) if they are started with an CDROM ISO boot image.

Disabling the coroutine pool for MinGW restores the old behaviour and avoids this regression.

---
This patch is needed for stable-1.5, too, but depends on a patch which adds the configure option --disable-coroutine-pool.

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index 16b4e5a..782b2be 100755
@@ -3423,7 +3423,7 @@ else
 fi
 
 if test "$coroutine_pool" = ""; then
-  if test "$coroutine" = "gthread"; then
+  if test "$coroutine" = "gthread" -o "$coroutine" = "win32"; then
     coroutine_pool=no
   else
     coroutine_pool=yes
Signature · 1 line
1.7.10.4