qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qemu-thread: add TLS wrappers


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] qemu-thread: add TLS wrappers
Date: Wed, 17 Aug 2011 10:37:09 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0

On 08/17/2011 10:28 AM, Blue Swirl wrote:
>>  The actual use of TLS within QEMU on POSIX systems will be optional
>>  though, right?
>
>  Actually, TLS is already mandatory for both POSIX and Win32 systems.
Not true, we have avoided TLS.

>  This patch tries to improve the situation on Windows, both by allowing older
>  GCC versions, and by making TLS faster.  On ELF systems, TLS has been
>  supported by GCC for perhaps 10 years, there's no reason to care.
GCC may support it but it can't use it on a platform if the other
parts are missing (libc etc.).

Again, welcome to the 21st century. There's no way you can have something that is scalable and not use fast TLS. IMNSHO if OpenBSD still wants to miss features that all sane OSes (and Windows _is_ sane) have nowadays, fine, it will be stuck with an old QEMU or with single-thread user-level emulation.

As far as portability is concerned, FreeBSD provides a much more interesting target.

Paolo



reply via email to

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