|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore |
Date: | Thu, 03 Nov 2011 11:10:39 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 |
On 11/03/2011 10:54 AM, Fabien Chouteau wrote:
>> The unchaining is neither signal-safe nor thread-safe...> > Yeah, but there's nothing Windows-specific in that.That's very important, I don't see why it is different between Linux and Windows here.
Yep, perhaps for timers it was the case a while ago, but with iothread+dynticks it should not be a problem anymore. For unchaining, Linux and Windows should have never been different.
Also, why running all the threads on the same CPU would make the code thread-safe?
It would ensure that two mutators wouldn't run concurrently. In some sense, signal-safe code could then be considered thread-safe too.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |