From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shakil k Subject: xs_unwatch Date: Thu, 15 Aug 2013 14:52:12 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7821494977904720458==" Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VA5Sp-0003pD-9B for xen-devel@lists.xenproject.org; Thu, 15 Aug 2013 21:52:15 +0000 Received: by mail-oa0-f53.google.com with SMTP id k18so1474517oag.26 for ; Thu, 15 Aug 2013 14:52:12 -0700 (PDT) List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org --===============7821494977904720458== Content-Type: multipart/alternative; boundary=089e01494992874bd904e4037ce9 --089e01494992874bd904e4037ce9 Content-Type: text/plain; charset=UTF-8 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 --089e01494992874bd904e4037ce9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello Xen Team,

I wanted to use the xen= store 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 chan= ge in node, however if suppose the client who is suppose to update the valu= e 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 b= ut somehow its not working.
Is there a way to specify timeout to = watch, rather than just n iterations?

Thanks for t= he help.

Regards
Shakil
--089e01494992874bd904e4037ce9-- --===============7821494977904720458== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============7821494977904720458==--