Re: Add pselect, ppoll system calls.

From: Ulrich Drepper
Date: Mon Jun 13 2005 - 11:16:01 EST


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