git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
poll-loop: Enable checking whether a FD caused a wakeup.
[sliver-openvswitch.git]
/
lib
/
poll-loop.h
diff --git
a/lib/poll-loop.h
b/lib/poll-loop.h
index
da8f6e2
..
fa06a07
100644
(file)
--- a/
lib/poll-loop.h
+++ b/
lib/poll-loop.h
@@
-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