diff options
author | davidxu <davidxu@FreeBSD.org> | 2012-02-15 02:59:17 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2012-02-15 02:59:17 +0000 |
commit | 5485b3317afb6512a9895e1b616d46e684913c24 (patch) | |
tree | 777b8d90566c9dfdbd8c3bdfb0420531b2296332 /lib/libc | |
parent | 09bba37b34a115e616e690de3923dc08dc8b9e9e (diff) | |
download | FreeBSD-src-5485b3317afb6512a9895e1b616d46e684913c24.zip FreeBSD-src-5485b3317afb6512a9895e1b616d46e684913c24.tar.gz |
Add notes about sigev_notify_kevent_flags introduced in revision 230857
which enables thread-friendly polling on same fd for AIO events.
Reviewed by: delphij
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/kqueue.2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index 7482405..6c00008 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -322,6 +322,9 @@ The sigevent portion of the AIO request is filled in, with .Va sigev_notify_kqueue containing the descriptor of the kqueue that the event should be attached to, +.Va sigev_notify_kevent_flags +containing the kevent flags which should be EV_ONESHOT, EV_CLEAR or +EV_DISPATCH, .Va sigev_value containing the udata value, and .Va sigev_notify |