On 24 June 2013 22:15, Paolo Bonzini <pbonz...@redhat.com> wrote:
> I and Stefan Hajnoczi have almost the same idea implemented in QEMU
> (except that get_foo() returns a pointer to the variable).  But
> pthread_get/setspecific would be too slow for cpu_single_env, so we're
> just switching to __thread for cpu_single_env (for Linux in our patches,
> but you can add FreeBSD too once it's needed).

By the way, what's the plan for Windows? Does that support
__thread too, or will there still need to be some windows
specific magic?

thanks
-- PMM

Reply via email to