On 11/24/2010 02:15 AM, Anthony Liguori wrote:

Is it signal safe?

Yes, at heart it is just a somewhat more expensive access to pthread_self()->some_array[key].

BTW, this is all only theoretical.  This is in the KVM io thread code
which is already highly unportable.

True, and newer versions of GCC emulate __thread even on Windows.

Paolo

Reply via email to