summaryrefslogtreecommitdiff
path: root/man7/epoll.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2008-02-26 12:44:38 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2008-02-26 12:44:38 +0000
commitf2e101d0ca6502fa9d2e8e719767c3fee1a70528 (patch)
tree3f8e1669ede4fb697f5f871ce19d9ef70c3dfad9 /man7/epoll.7
parent7647b3a10bb4f4cd7027e2340a5bdd9caf4542b4 (diff)
minor rewordings.
Diffstat (limited to 'man7/epoll.7')
-rw-r--r--man7/epoll.79
1 files changed, 6 insertions, 3 deletions
diff --git a/man7/epoll.7 b/man7/epoll.7
index 651fade5..535ba03d 100644
--- a/man7/epoll.7
+++ b/man7/epoll.7
@@ -82,6 +82,7 @@ file descriptor has been added to the
.B epoll
interface using the
.B EPOLLET
+(edge-triggered)
flag, the call to
.BR epoll_wait (2)
done in step
@@ -112,8 +113,7 @@ might block indefinitely.
An application that employs the
.B EPOLLET
-flag (edge-triggered)
-should use non-blocking file descriptors to avoid having a blocking
+flag should use non-blocking file descriptors to avoid having a blocking
read or write starve a task that is handling multiple file descriptors.
The suggested way to use
.B epoll
@@ -134,7 +134,10 @@ return
.BR EAGAIN .
.RE
.PP
-By contrast, when used as a level-triggered interface,
+By contrast, when used as a level-triggered interface
+(the default, when
+.B EPOLLET
+is not specified),
.B epoll
is simply a faster
.BR poll (2),