xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Shakil k <shakilk1729@gmail.com>
To: xen-devel@lists.xenproject.org
Subject: xs_unwatch
Date: Thu, 15 Aug 2013 14:52:12 -0700	[thread overview]
Message-ID: <CAGiEYNdjAvTQsF7Pv8gZ63sa7WgzcaioKmkRwVK_rOBtdyqRFg@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 557 bytes --]

Hello Xen Team,

I wanted to use the xenstore API to monitor the change of value for one of
the node, being written by xenstore-write.
I can use xs_watch to look for the value change in node, however if suppose
the client who is suppose to update the value to node died, so I don't want
to keep waiting forever, hence I want a timeout for watch.
I thought probably I can do xs_unwatch after certain defined timeout but
somehow its not working.
Is there a way to specify timeout to watch, rather than just n iterations?

Thanks for the help.

Regards
Shakil

[-- Attachment #1.2: Type: text/html, Size: 699 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

             reply	other threads:[~2013-08-15 21:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-15 21:52 Shakil k [this message]
2013-08-16 12:00 ` xs_unwatch Ian Campbell

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=CAGiEYNdjAvTQsF7Pv8gZ63sa7WgzcaioKmkRwVK_rOBtdyqRFg@mail.gmail.com \
    --to=shakilk1729@gmail.com \
    --cc=xen-devel@lists.xenproject.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).