Re: [Qemu-devel] Re: [PATCH 2/7] store thread-specific env information
On 11/30/2009 01:49 PM, Paolo Bonzini wrote: On 11/30/2009 12:41 PM, Glauber Costa wrote: For the record, I am a big fan of __thread. The only reason I used the pthread library was portability. I can surely put in some configure knobs to use __thread where available Plus, do you really need to support SMP when __thread is not available?... Good point. -- error compiling committee.c: too many arguments to function
Re: [Qemu-devel] Re: [PATCH 2/7] store thread-specific env information
On 11/30/2009 12:41 PM, Glauber Costa wrote: For the record, I am a big fan of __thread. The only reason I used the pthread library was portability. I can surely put in some configure knobs to use __thread where available Plus, do you really need to support SMP when __thread is not available?... Paolo
Re: [Qemu-devel] Re: [PATCH 2/7] store thread-specific env information
> Anyway on Windows neither __thread nor pthread_getspecific is supported, so > some configury is needed anyway. > > Paolo For the record, I am a big fan of __thread. The only reason I used the pthread library was portability. I can surely put in some configure knobs to use __thread where available -- Glauber Costa. "Free as in Freedom" http://glommer.net "The less confident you are, the more serious you have to act."