[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/7] store thread-specific env information

From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH 2/7] store thread-specific env information
Date: Sun, 29 Nov 2009 16:38:51 +0100

Am 29.11.2009 um 16:29 schrieb Avi Kivity:

On 11/26/2009 07:24 PM, Glauber Costa wrote:
Since we'll have multiple cpu threads, at least for kvm, we need a way to store and retrieve the CPUState associated with the current execution thread.
For the I/O thread, this will be NULL.

I am using pthread functions for that, for portability, but we could as well
use __thread keyword.

Where is __thread not supported?

Apple, Sun.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]