Messages in this thread |  | | Date | Mon, 10 May 1999 22:06:22 +0200 | | From | Roger Espel Llima <> | | Subject | Re: select() clobbering the timeout |
| |
On Mon, May 10, 1999 at 03:28:37PM -0400, Richard B. Johnson wrote: > `man select` on my system explicitly states; > > "On Linux, timeout is modified to reflect the amount of time > not slept; most other implementations do not do this." > > Therefore, it should always be modified unless it returns instantly > because there is activity on the fd.
Exactly, and when the timeout expires, it should be modified to be {0,0}, not some random large value.
Anyway, it turned out it's a known bug, and a relatively minor one too...
-- Roger Espel Llima, espel@llaic.u-clermont1.fr http://www.eleves.ens.fr:8080/home/espel/index.html
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
|  |