qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v5 3/5] coroutine: implement coroutines using gt


From: Alexandre Raymond
Subject: Re: [Qemu-devel] [PATCH v5 3/5] coroutine: implement coroutines using gthread
Date: Wed, 29 Jun 2011 20:51:44 -0400

Hi Andreas,

> This fixes Darwin/ppc64 (and ppc) v10.5.
> Don't know whether v10.6 / i386 might have a working implementation (cc'ing
> Alexand{re,er}).

In 10.6, I get the following error when I try to compile a simple getcontext():
/usr/include/ucontext.h:42:2: error: #error ucontext routines are
deprecated, and require _XOPEN_SOURCE to be defined

On the other hand, if I do define _XOPEN_SOURCE, getcontext() returns 0.

Alexandre



reply via email to

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