[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] qemu-thread: add TLS wrappers
From: |
Ed Maste |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] qemu-thread: add TLS wrappers |
Date: |
Mon, 1 Jul 2013 14:52:08 -0400 |
On 1 July 2013 05:35, Stefan Hajnoczi <address@hidden> wrote:
> From: Paolo Bonzini <address@hidden>
>
> Fast TLS is not available on some platforms, but it is always nice to
> use it. This wrapper implementation falls back to pthread_get/setspecific
> on POSIX systems that lack __thread, but uses the dynamic linker's TLS
> support on Linux and Windows.
The most recent version of this patch posted by Paolo that I see has:
+#if defined(__linux__) || defined(__FreeBSD__)
+#define DECLARE_TLS(type, x) \
while this one has only __linux__. Do you mind picking up that
change, if this is likely to make it in via your work?
[Qemu-devel] [PATCH 1/2] exec: do not use qemu/tls.h, Stefan Hajnoczi, 2013/07/01