21 Jun
2007
21 Jun
'07
10:56 a.m.
Hi,
It doesn't compile for Solaris 10:
You can compile it with : gcc -o concurency -I/usr/ucbinclude -L/usr/ucblib -lucb concurency.c (on a default Solaris 10 install). Then, you must add /usr/ucblib to your library search path using crle.
On a dual UltraSparc IIIi running Solaris 10, here is what is printed after 30 minutes :
$ ./concurency writing, page size = 8192 4: reading, page size = 8192 3: reading, page size = 8192 2: reading, page size = 8192 0: reading, page size = 8192 1: reading, page size = 8192
Cheers, Greg