From: Jeremy Fitzhardinge Subject: Re: A bug in Xenbus driver Date: Thu, 26 Aug 2010 09:34:59 -0700 Message-ID: <4C7697B3.8090502@goop.org> References: <433DDF91DFB08148BAD3FDB6FDDA314C9F35F3BB47@LONPMAILBOX01.citrite.net>, <4C756CCE.3060200@goop.org> <433DDF91DFB08148BAD3FDB6FDDA314C9F35F3BB49@LONPMAILBOX01.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <433DDF91DFB08148BAD3FDB6FDDA314C9F35F3BB49@LONPMAILBOX01.citrite.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Jun Zhu (Intern)" Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 08/26/2010 01:25 AM, Jun Zhu (Intern) wrote: > Sorry for my description. "Does not report correctly" is not the problem of xenbus read. > I mean that in the xenstore/xs.c code, when using another thread (#ifdef USE_PTHREAD) to receive responses from xenbus, if this thread exits incorrectly, the listener should be noticed, or the listener will wait for response for ever. How does that relate to your proposed fix? J