Nikos Mavrogiannopoulos nmav@gnutls.org writes:
How does it deal with multi-threaded access?
The worst thing that can happen is that several threads examine the cpuid flags, and then write identical pointers to the same locations at approximately the same time.
And as far as I have understod, that is no problem, because, reading and writing a pointer value is an atomic operations on the concerned architectures.
Regards, /Niels