Jason Pollock wrote:
I have noticed the same problem. With fcntl locks, the lock isn't associated with a file descriptor, it's associated with the file, so if someone opens the file, checks the lock and closes the file in the same process, the lock is released.


Since it's a required lock, perhaps Solaris mandatory locking would be a better way to deal with the problem than a dict?

http://sunsite.uakom.sk/sunworldonline/swol-04-1998/swol-04-insidesolaris.html


Closer reading seems to indicate that that won't work either.  Nuts.
_______________________________________________
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel

Reply via email to