On Wed, Aug 17, 2011 at 5:28 PM, Paolo Bonzini <pbonz...@redhat.com> 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?