<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
After digging around it seems that the resolution of the "timeout" parameter to the "select" system call (which is used by the scheduler to wait for I/O and/or a timeout) can vary greatly from one OS to another.<br>

<br>
I'm curious to know how well other operating systems handle the timeout.  So, if you have access to some unusual operating system, could you try the above program and report back what value is printed?<br>
</blockquote></div><br>I do not consider FreeBSD unusual (as it runs on 100% of my computers :D), yet<br><br>Freebsd 7.2 on a 64bits arch and gambit 4.2.8 gives 503 on average.<br><br clear="all">/usr/bin/time -p ./a.out<br>
real 19.92<br>user 0.00<br>sys 0.02<br><br><br>P!<br><br>-- <br>Français, English, 日本語, 한국어<br><br>