21 Jun
2007
21 Jun
'07
9:28 a.m.
Attached another test program. I don't expect it to print any errors with any OS, but I'd like to confirm it for non-Linux SMP kernels.
(Except for OpenBSD, it doesn't work correctly in it anyway because it doesn't support mixing write()s and mmap())
6.2-RELEASE FreeBSD 2 x Intel(R) Xeon(R) CPU 5130 @ 2.00GHz (2000.08-MHz 686-class CPU)
af>./concurrency 4: reading, page size = 4096 open(): No such file or directory 0: reading, page size = 4096 open(): No such file or directory af> writing, page size = 4096 3: reading, page size = 4096 1: reading, page size = 4096 2: reading, page size = 4096 open(): No such file or directory open(): No such file or directory open(): No such file or directory
6.2-RELEASE-p2 FreeBSD CPU: Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz (1864.81-MHz 686-class CPU)
j170> ./concurrency 4: reading, page size = 4096 open(): No such file or directory 0: reading, page size = 4096 open(): No such file or directory j170> writing, page size = 4096 3: reading, page size = 4096 2: reading, page size = 4096 1: reading, page size = 4096 open(): No such file or directory open(): No such file or directory open(): No such file or directory
6.1-RELEASE FreeBSD 2 x CPU: Intel(R) Pentium(TM)3 900 MHz
uos> ./concurrency 4: reading, page size = 4096 open(): No such file or directory writing, page size = 4096 3: reading, page size = 4096 0: reading, page size = 4096 2: reading, page size = 4096 1: reading, page size = 4096
been waiting for 2h, prompt does not return
-- PJ
Masz fajnie urzadzone mieszkanie? Pokaz je innym >>> http://link.interia.pl/f1abf