mirror of https://github.com/mkerrisk/man-pages
minor rewordings.
This commit is contained in:
parent
7647b3a10b
commit
f2e101d0ca
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue