poll-loop: Enable checking whether a FD caused a wakeup.
[sliver-openvswitch.git] / lib / poll-loop.h
index da8f6e2..fa06a07 100644 (file)
@@ -65,6 +65,9 @@ void poll_block(void);
 /* Cancel a file descriptor callback or event. */
 void poll_cancel(struct poll_waiter *);
 
+/* Checks whether the file descriptor caused a wakeup. */
+short int poll_fd_woke(int fd);
+
 #ifdef  __cplusplus
 }
 #endif