On 11/28/17 9:41 AM, Chet Ramey wrote:
> 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.

Forget this, I see it.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to