Displaying 3 results from an estimated 3 matches for "remove_wait".
Did you mean:
  remove_waiter
  
2012 Feb 04
2
xen-unstable stubdom build error version(3432abcf9380)
parent: 24691:3432abcf9380 tip
 Fix x86_32 build
branch: default
commit: 4 modified, 1439 unknown
update: (current)
/usr/src/xen-4.2/stubdom/ioemu/block-vbd.c: In function âqemu_aio_waitâ:
/usr/src/xen-4.2/stubdom/ioemu/block-vbd.c:147:20: error: macro "remove_waiter" requires 2 arguments, but only 1 given
/usr/src/xen-4.2/stubdom/ioemu/block-vbd.c:147:5: error: âremove_waiterâ undeclared (first use in this function)
/usr/src/xen-4.2/stubdom/ioemu/block-vbd.c:147:5: note: each undeclared identifier is reported only once for each function it appears in
ma...
2012 Nov 28
4
[minios] Add xenbus shutdown control support
...poweroff;
+                    wmb();
+                    do_shutdown = 1;
+                    wmb();
+                    wake_up(&shutdown_queue);
                 }
                 break;
             }
@@ -410,11 +426,16 @@
         }
         if (sleep)
             schedule();
+        remove_waiter(w3, shutdown_queue);
+        remove_waiter(w2, fbfront_queue);
+        remove_waiter(w, kbdfront_queue);
     }
+    up(&kbd_sem);
 }
 
 #ifdef CONFIG_PCIFRONT
 static struct pcifront_dev *pci_dev;
+static struct semaphore pci_sem = __SEMAPHORE_INITIALIZER(pci_sem, 0);
 
 static void print_...
2008 Jan 17
0
[PATCH] [Mini-OS] add xenbus token support and separate watch event queues
...c2);
 }
 
-void wait_for_watch(void)
+char **xenbus_wait_for_watch_return()
 {
+    struct xenbus_event *event;
     DEFINE_WAIT(w);
-    add_waiter(w,watch_queue);
-    schedule();
+    while (!(event = xenbus_events)) {
+        add_waiter(w, xenbus_watch_queue);
+        schedule();
+    }
     remove_waiter(w);
-    wake(current);
+    xenbus_events = event->next;
+    return &event->path;
 }
 
-char* xenbus_wait_for_value(const char* path,const char* value)
+void xenbus_wait_for_watch(void)
+{
+    char **ret;
+    ret = xenbus_wait_for_watch_return();
+    free(ret);
+}
+
+char* xenbus_w...