mirror of https://github.com/mkerrisk/man-pages
epoll_wait.2: Move subsection to NOTES from BUGS
'C library/kernel differences' was added to BUGS incorrectly. Fix it Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
2ce1caae32
commit
099b33fbff
|
@ -285,18 +285,6 @@ instance whose interest list is currently empty
|
||||||
or removed from the interest in another thread).
|
or removed from the interest in another thread).
|
||||||
The call will block until some file descriptor is later added to the
|
The call will block until some file descriptor is later added to the
|
||||||
interest list (in another thread) and that file descriptor becomes ready.
|
interest list (in another thread) and that file descriptor becomes ready.
|
||||||
.SH BUGS
|
|
||||||
In kernels before 2.6.37, a
|
|
||||||
.I timeout
|
|
||||||
value larger than approximately
|
|
||||||
.I LONG_MAX / HZ
|
|
||||||
milliseconds is treated as \-1 (i.e., infinity).
|
|
||||||
Thus, for example, on a system where
|
|
||||||
.I sizeof(long)
|
|
||||||
is 4 and the kernel
|
|
||||||
.I HZ
|
|
||||||
value is 1000,
|
|
||||||
this means that timeouts greater than 35.79 minutes are treated as infinity.
|
|
||||||
.SS C library/kernel differences
|
.SS C library/kernel differences
|
||||||
The raw
|
The raw
|
||||||
.BR epoll_pwait ()
|
.BR epoll_pwait ()
|
||||||
|
@ -312,6 +300,18 @@ The glibc
|
||||||
wrapper function specifies this argument as a fixed value
|
wrapper function specifies this argument as a fixed value
|
||||||
(equal to
|
(equal to
|
||||||
.IR sizeof(sigset_t) ).
|
.IR sizeof(sigset_t) ).
|
||||||
|
.SH BUGS
|
||||||
|
In kernels before 2.6.37, a
|
||||||
|
.I timeout
|
||||||
|
value larger than approximately
|
||||||
|
.I LONG_MAX / HZ
|
||||||
|
milliseconds is treated as \-1 (i.e., infinity).
|
||||||
|
Thus, for example, on a system where
|
||||||
|
.I sizeof(long)
|
||||||
|
is 4 and the kernel
|
||||||
|
.I HZ
|
||||||
|
value is 1000,
|
||||||
|
this means that timeouts greater than 35.79 minutes are treated as infinity.
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR epoll_create (2),
|
.BR epoll_create (2),
|
||||||
.BR epoll_ctl (2),
|
.BR epoll_ctl (2),
|
||||||
|
|
Loading…
Reference in New Issue