qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a V


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a VCPU (v2)
Date: Wed, 24 Nov 2010 03:08:35 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6

On 11/24/2010 02:15 AM, Anthony Liguori wrote:

Is it signal safe?

Yes, at heart it is just a somewhat more expensive access to pthread_self()->some_array[key].

BTW, this is all only theoretical.  This is in the KVM io thread code
which is already highly unportable.

True, and newer versions of GCC emulate __thread even on Windows.

Paolo



reply via email to

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