aboutsummaryrefslogtreecommitdiff
path: root/doc/chopstx-api.texi
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2016-04-22 13:42:01 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2016-04-22 13:42:01 +0900
commit1b12a780548cff613e9eaa5cdef0e4a9429441cb (patch)
tree81289093481837da3064036ddc589071b6401dbf /doc/chopstx-api.texi
parent5d40ffbffad4b3f102a6d4cf975d7a49a6dcdb92 (diff)
Modify chopstx_poll API
Diffstat (limited to 'doc/chopstx-api.texi')
-rw-r--r--doc/chopstx-api.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/chopstx-api.texi b/doc/chopstx-api.texi
index 6ccf6d8..72f2553 100644
--- a/doc/chopstx-api.texi
+++ b/doc/chopstx-api.texi
@@ -209,3 +209,13 @@ Calling chopstx_setcancelstate sets cancelability state.
Returns old state which is 0 when it was enabled.
@end deftypefun
+@subheading chopstx_poll
+@anchor{chopstx_poll}
+@deftypefun {int} {chopstx_poll} (uint32_t * @var{usec_p}, int @var{n}, @var{...})
+@var{usec_p}: Pointer to usec
+
+@var{n}: Number of poll descriptors
+
+Returns number of active descriptors.
+@end deftypefun
+