diff options
author | sson <sson@FreeBSD.org> | 2009-09-16 03:37:39 +0000 |
---|---|---|
committer | sson <sson@FreeBSD.org> | 2009-09-16 03:37:39 +0000 |
commit | a386443e5123201c31ec7a193e83f022ede7f469 (patch) | |
tree | c8f77010c00765957949cb95c1bd2b67c052cff1 /lib | |
parent | 7cb0718a03501c7ac46ff447e23b5aa2a3bd3928 (diff) | |
download | FreeBSD-src-a386443e5123201c31ec7a193e83f022ede7f469.zip FreeBSD-src-a386443e5123201c31ec7a193e83f022ede7f469.tar.gz |
Add the EV_DISPATCH flag to kevents.
When the EV_DISPATCH flag is used the event source will be disabled
immediately after the delivery of an event. This is similar to the
EV_ONESHOT flag but it doesn't delete the event.
Approved by: rwatson (co-mentor)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/kqueue.2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index 1e5e2b5..63f5a4d 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -201,6 +201,11 @@ Disable the event so .Fn kevent will not return it. The filter itself is not disabled. +.It EV_DISPATCH +Disable the event source immediately after delivery of an event. +See +.Dv EV_DISABLE +above. .It EV_DELETE Removes the event from the kqueue. Events which are attached to |