On 11/27/17 2:47 PM, Ángel wrote:
> Also there's the issue that select() _may_ modify the object pointed to
> by the timeout argument [POSIX]. But it may not, in which case this
> would end up oversleeping.
>
> On such system, doing eg.
> sleep 9 & time sleep 10
>
> would end up sleeping 19 seconds.
I can't see how, since the two sleeps would be performed by different
processes, using two separately-initialized select calls.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/