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?
Closer reading seems to indicate that that won't work either. Nuts.
Devel mailing list