mirror of https://github.com/mkerrisk/man-pages
The short sleep bug (up to 1 jiffy) that was newly noted in
man-pages-2.04 has just been fixed in 2.6.12.
This commit is contained in:
parent
72da38ce1d
commit
7704d9671e
|
@ -67,7 +67,7 @@ struct timeval {
|
|||
.PD
|
||||
.LP
|
||||
The function
|
||||
.B getitimer
|
||||
.BR getitimer ()
|
||||
fills the structure indicated by
|
||||
.I value
|
||||
with the current setting for the timer indicated by
|
||||
|
@ -84,7 +84,7 @@ is disabled. Similarly,
|
|||
.I it_interval
|
||||
is set to the reset value.
|
||||
The function
|
||||
.B setitimer
|
||||
.BR setitimer ()
|
||||
sets the indicated timer to the value in
|
||||
.IR value .
|
||||
If
|
||||
|
@ -162,13 +162,13 @@ On Linux 2.6 on x86 (where a jiffy is 0.001 seconds),
|
|||
this means that the ceiling value for a timer is
|
||||
approximately 24.86 days.
|
||||
|
||||
On certain systems (including x86), the Linux kernel has a bug which will
|
||||
produce premature timer expirations of up to one jiffy under some
|
||||
circumstances.
|
||||
.\" As at June 2005, the above holds in 2.4.x and 2.6.x (e.g., 2.6.12.)
|
||||
On certain systems (including x86),
|
||||
Linux kernels before version 2.6.12 have a bug which will produce
|
||||
premature timer expirations of up to one jiffy under some circumstances.
|
||||
This bug is fixed in kernel 2.6.12.
|
||||
|
||||
POSIX.1 says that
|
||||
.B setitimer
|
||||
.BR setitimer ()
|
||||
should fail if a
|
||||
.I tv_usec
|
||||
value is specified that is outside of the range 0 to 999999.
|
||||
|
|
Loading…
Reference in New Issue