[gambit-list] Problem in thread-sleep! may be a poor

Pavel Dudrenov dudrenov at gmail.com
Wed Jan 28 01:25:21 EST 2009


For what is worth here are my results. I hope the result are not just
adding noise, as it is yet another linux box only.

$ gsc test.scm
$ gsi test
101
$ uname -a
Linux dudrenov 2.6.25-gentoo-r8 #1 SMP Sat Nov 8 14:58:34 PST 2008
i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux


Pavel


On Tue, Jan 27, 2009 at 6:19 PM, Bradley Lucier <lucier at math.purdue.edu> wrote:
>
> On Jan 27, 2009, at 8:36 PM, Marc Feeley wrote:
>
>> 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?
>
> Does Solaris count as unusual nowadays?
>
> zuse-2% gsc select.scm
> zuse-3% gsi select
> 103
>
>> I also wrote the C program below to test the resolution of select's
>> timeout.  You can try that too.
>
> zuse-5% gcc -o select-test -O2 -Wall -W select-test.c
> select-test.c: In function 'sleep_using_select':
> select-test.c:45: warning: implicit declaration of function 'memset'
> select-test.c:45: warning: incompatible implicit declaration of built-
> in function 'memset'
> select-test.c: In function 'main':
> select-test.c:62: warning: unused parameter 'argc'
> select-test.c:62: warning: unused parameter 'argv'
> zuse-8% time ./select-test
> 0.01u 0.00s 1:40.04 0.0%
>
> zuse-9% uname -a
> SunOS zuse.math.purdue.edu 5.9 Generic_118558-06 sun4u sparc SUNW,Sun-
> Fire-280R
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>



More information about the Gambit-list mailing list