|
From: | Avi Kivity |
Subject: | [Qemu-devel] Re: [PATCH 01/22] Prevent abortion on multiple VCPU kicks |
Date: | Mon, 31 Jan 2011 11:44:16 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.7 |
On 01/27/2011 03:09 PM, Jan Kiszka wrote:
If we call qemu_cpu_kick more than once before the target was able to process the signal, pthread_kill will fail, and qemu will abort. Prevent this by avoiding the redundant signal.
Doesn't fit with the manual page (or with the idea that signals are asynchronous):
NAME pthread_kill - send a signal to a thread ... ERRORS ESRCH No thread with the ID thread could be found. EINVAL An invalid signal was specified. -- error compiling committee.c: too many arguments to function
[Prev in Thread] | Current Thread | [Next in Thread] |