Messages in this thread | | | Date | Sun, 9 May 1999 18:05:25 +0100 (IST) | From | Paul Jakma <> | Subject | Re: flock broken? |
| |
On Sun, 9 May 1999, Manfred Spraul wrote:
Could someone compile the attached program, and send me the results?
The attached program creates a small shm segment, a lock file & uses flock() to synchronize the access to the memory segment. The probem is that the synchronization fails: on UP: "./a.out 1000 10" fails after 5-10 second on SMP (2*PII): "./a.out 1000 2" fails nearly immediately.
hi manfred,
it fails here aswell, within 3-5 seconds or less depending on the args.
glibc-2.0.7-29 gcc version pgcc-2.91.60 19981201 (egcs-1.1.1 release) 2.2.7-ac2 with raid and devfs amd k6 233 ext2.
-- Paul Jakma paul@clubi.ie http://hibernia.clubi.ie PGP5 key: http://www.clubi.ie/jakma/publickey.txt ------------------------------------------- Fortune: fortune:work not a fortune file or directory
- 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/
| |