On 16/08/11 2:51 PM, Paolo Bonzini wrote:
Win32 emulated TLS is slow and is not available on all versions of GCC.
Actually, Win32 does have support for decent TLS, only GCC does not map
__thread to it.  The good news is, it's perfectly possible to declare
TLS variables with simple C code!

This patch adds wrappers to qemu-thread that will use __thread on POSIX
systems, and the .tls segment on Windows.

The actual use of TLS within QEMU on POSIX systems will be optional though, right?

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Reply via email to