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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to