From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 2/2] vnc: don't mess up with iohandlers in the vnc thread Date: Thu, 10 Mar 2011 14:06:39 +0100 Message-ID: <4D78CCDF.6090906@redhat.com> References: <4D7767C0.6060609@siemens.com> <1299761979-15197-2-git-send-email-corentin.chary@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jan Kiszka , Peter Lieven , qemu-devel , kvm@vger.kernel.org, Anthony Liguori To: Corentin Chary Return-path: Received: from mx1.redhat.com ([209.132.183.28]:17264 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752411Ab1CJNHA (ORCPT ); Thu, 10 Mar 2011 08:07:00 -0500 In-Reply-To: <1299761979-15197-2-git-send-email-corentin.chary@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On 03/10/2011 01:59 PM, Corentin Chary wrote: > Instead, we now store the data in a temporary buffer, and use a socket > pair to notify the main thread that new data is available. You can use a bottom half for this instead of a special socket. Signaling a bottom half is async-signal- and thread-safe. Paolo