minor rewordings.

This commit is contained in:
Michael Kerrisk 2008-02-26 12:44:38 +00:00
parent 7647b3a10b
commit f2e101d0ca
1 changed files with 6 additions and 3 deletions

View File

@ -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),