qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version


From: Paolo Bonzini
Subject: Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3)
Date: Wed, 17 Aug 2011 10:26:32 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0

On 08/17/2011 10:23 AM, Stefan Hajnoczi wrote:
>  I don't know about Win32 TLS support, but at least OpenBSD/sparc64
>  gcc/ld/ld.so/libc do not support __thread. According to manual, TLS is
>  not available everywhere:
>  
http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/Thread_002dLocal.html#Thread_002dLocal
Yeah, for OpenBSD we have the portable but slow GThread coroutine
implementation.

I think (but I'm not sure) that a newer GCC on OpenBSD is able to convert __thread to pthread_key_setspecific.

I'm trying to see if we can do something like Windows TLS at the qemu-thread level.

Paolo



reply via email to

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