From: Mark Williamson Subject: Re: Event Channel Semantics Date: Thu, 9 Nov 2006 15:34:35 +0000 Message-ID: <200611091534.35369.mark.williamson@cl.cam.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Julian Stecklina List-Id: xen-devel@lists.xenproject.org > I am developing some userspace tools on Xen/Linux and have problems > regarding the semantics of /dev/linux/evtchn. The situation is as follows: > > Suppose client A allocates an unbound port. > Client B connects to this via bind_interdomain. > Client A reads on /dev/linux/evtchn to see whether it has been notified. > > If client B now notifies client A, the latter gets the correct port from > the call to read(). But all subsequent notifications get lost, and > client A just sits there blocking on read(). > > Is this intended? If not, where is the problem? Are you clearing the event channel after receiving the first notification? Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!