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: Brad
Subject: Re: [Qemu-devel] [PATCH] qemu-thread: add TLS wrappers
Date: Wed, 17 Aug 2011 19:41:21 -0400

----- Original message -----
> On Wed, Aug 17, 2011 at 5:28 PM, Paolo Bonzini <address@hidden>
> wrote:
> > On 08/17/2011 10:26 AM, Stefan Hajnoczi wrote:
> > > > > 
> > > > > > >  Do you know which Windows gcc versions support __thread and
> > > > > > > if it would be reasonable to require those versions?
> > > > 
> > > > > 
> > > > >  It's probably 4.3 and newer, or something like that.
> > > 
> > > I suggest we simply require that minimum gcc version.
> > 
> > I would agree (just did it for fun and to see how it looks like), but
> > perhaps we can do something similar to what Windows does for OpenBSD
> > too.
> > 
> > Though I'm quite disappointed and I must say OpenBSD should enter the
> > 21st century.
> 
> I can't justify their design decisions, but isn't __thread a
> non-standard extension by GCC anyway whereas POSIX threads are the
> standard? Are other compilers supporting it?

Its not a "design decision" so much as when someone does the work it'll be 
supported. There is work under way to add support but its far from trivial and 
requires somewhat heavy lifting to get there.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




reply via email to

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