All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] libxl: make libxl_wait_for_device_model not racy
Date: Wed, 23 Jun 2010 12:25:44 +0100	[thread overview]
Message-ID: <4C21EF38.10504@eu.citrix.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1006231059110.22638@kaball-desktop>

On 23/06/10 12:15, Stefano Stabellini wrote:
> Hi all,
> at the moment libxl_wait_for_device_model waits on a xenstore watch
> before checking the current value of the xenstore node, that might
> contain already the value the function was looking for.
> This patch changes libxl_wait_for_device_model so that it checks the
> value of the xenstore node first, then waits for the watch.
>
> Signed-off-by: Stefano Stabellini<stefano.stabellini@eu.citrix.com>
>    
xenstore watch automatically fire one time when you install them for 
this exact same purpose. Is this patch actually solving any issue you saw ?

-- 
Vincent

  reply	other threads:[~2010-06-23 11:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-23 11:15 [PATCH] libxl: make libxl_wait_for_device_model not racy Stefano Stabellini
2010-06-23 11:25 ` Vincent Hanquez [this message]
2010-06-23 13:15   ` Stefano Stabellini
2010-06-23 13:36     ` Vincent Hanquez
2010-06-23 16:03       ` Ian Jackson
2010-06-23 16:50 ` Jeremy Fitzhardinge
2010-06-23 16:52   ` Stefano Stabellini
2010-06-23 16:54     ` Jeremy Fitzhardinge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C21EF38.10504@eu.citrix.com \
    --to=vincent.hanquez@eu.citrix.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.