From: Ian Jackson Subject: Re: [PATCH] libxl: make libxl_wait_for_device_model not racy Date: Wed, 23 Jun 2010 17:03:38 +0100 Message-ID: <19490.12378.792043.389555@mariner.uk.xensource.com> References: <4C21EF38.10504@eu.citrix.com> <4C220DCB.8000600@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4C220DCB.8000600@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Vincent Hanquez Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Vincent Hanquez writes ("Re: [Xen-devel] [PATCH] libxl: make libxl_wait_for_device_model not racy"): > yes. this feature has been here since xenstore has watches, for this > exact purpose: not having to check before the watch fire that the values > you're expecting is there already. I think the new code is preferable because it's clearer, even if we never undo that xenstore wrinkle. (I agree that we probably can't.) Ian.