Displaying 3 results from an estimated 3 matches for "xenbus_unwatch_path".
2008 May 02
0
[PATCH] minios: end watch of FS backend state value
...7 2008 +0100
+++ b/extras/mini-os/fs-front.c Fri May 02 14:11:45 2008 +0100
@@ -1028,6 +1028,7 @@ done:
/* The token will not be unique if multiple imports are inited */
xenbus_watch_path(XBT_NIL, r_nodename/*, token*/);
xenbus_wait_for_value(/*token,*/ r_nodename, STATE_READY);
+ xenbus_unwatch_path(XBT_NIL, r_nodename);
printk("Backend ready.\n");
//create_thread("fs-tester", test_fs_import, import);
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2008 Jan 17
0
[PATCH] [Mini-OS] add xenbus token support and separate watch event queues
...atch event queue */
+struct xenbus_event {
+ /* Keep these two as this for xs.c */
+ char *path;
+ char *token;
+ struct xenbus_event *next;
+};
+
+char *xenbus_watch_path_token(xenbus_transaction_t xbt, const char *path, const char *token, struct xenbus_event *volatile *events);
+char *xenbus_unwatch_path_token(xenbus_transaction_t xbt, const char *path, const char *token);
+extern struct wait_queue_head xenbus_watch_queue;
+void xenbus_wait_for_watch(void);
+char **xenbus_wait_for_watch_return(void);
+char* xenbus_wait_for_value(const char *path, const char *value);
+
+/* When no token is provided,...
2008 Feb 29
35
[RFC] PVFB: Add refresh period to XenStore parameters?
Hello,
Sometimes the backend of PVFB knows that it doesn''t need permanent
refresh, when the window is minimized for instance (no refresh at all),
or the administration tools know that the window is thumnailed, and so a
slow refresh rate is fine. Also, some users may want to tune the
refresh rate according to the smoothness they would like, balanced with
the CPU time that requires.