[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] qemu-thread: add TLS wrappers
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] qemu-thread: add TLS wrappers |
Date: |
Tue, 2 Jul 2013 09:50:15 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Jul 01, 2013 at 02:52:08PM -0400, Ed Maste wrote:
> 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?
Since additional changes are necessary before these patches can be
merged, I hope Paolo can pick up my "tls_" rename and send the next
revision including his improvements.
Stefan
Re: [Qemu-devel] [PATCH 2/2] qemu-thread: add TLS wrappers, Ed Maste, 2013/07/01
Re: [Qemu-devel] [PATCH 2/2] qemu-thread: add TLS wrappers,
Stefan Hajnoczi <=
[Qemu-devel] [PATCH 1/2] exec: do not use qemu/tls.h, Stefan Hajnoczi, 2013/07/01