From: Ian Jackson Subject: Re: [PATCH] libxenstore: fix threading bug which cause xend startup hang Date: Fri, 10 Sep 2010 19:02:23 +0100 Message-ID: <19594.29359.719546.582309@mariner.uk.xensource.com> References: <19594.25262.241563.656571@mariner.uk.xensource.com> <1284140207.15518.47.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1284140207.15518.47.camel@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH] libxenstore: fix threading bug which cause xend startup hang"): > Nice catch! ... > read_reply contains a very similar pattern to the above. I assume it is > safe on that occasion because xs_talkv (the only caller of read_reply) > holds request_mutex? Yes, exactly. Ian.