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
|
.B epoll
|
||||||
interface using the
|
interface using the
|
||||||
.B EPOLLET
|
.B EPOLLET
|
||||||
|
(edge-triggered)
|
||||||
flag, the call to
|
flag, the call to
|
||||||
.BR epoll_wait (2)
|
.BR epoll_wait (2)
|
||||||
done in step
|
done in step
|
||||||
|
@ -112,8 +113,7 @@ might block indefinitely.
|
||||||
|
|
||||||
An application that employs the
|
An application that employs the
|
||||||
.B EPOLLET
|
.B EPOLLET
|
||||||
flag (edge-triggered)
|
flag should use non-blocking file descriptors to avoid having a blocking
|
||||||
should use non-blocking file descriptors to avoid having a blocking
|
|
||||||
read or write starve a task that is handling multiple file descriptors.
|
read or write starve a task that is handling multiple file descriptors.
|
||||||
The suggested way to use
|
The suggested way to use
|
||||||
.B epoll
|
.B epoll
|
||||||
|
@ -134,7 +134,10 @@ return
|
||||||
.BR EAGAIN .
|
.BR EAGAIN .
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.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
|
.B epoll
|
||||||
is simply a faster
|
is simply a faster
|
||||||
.BR poll (2),
|
.BR poll (2),
|
||||||
|
|
Loading…
Reference in New Issue