Re: Add pselect, ppoll system calls.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Woodhouse wrote:
> 64-bit value for which? For seconds?

poll()'s timeout value is measrued in milliseconds.  Using a 32bit
value, as implied by using 'int' for the type, limits the mximum timeout
to be 2^31-1 milliseconds, which means about 24 days.  Believe it or
not, people are complaining about this.  Changing the timeout to a 64
bit millisecond timeout would lift the limitation from the API's POV.  I
don't know what limitations exist in the kernel itself.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux