Greg Hudson <[email protected]> writes:

> That's a good theory.  I don't know if you've been involved in previous
> discussions about our DB2 locking, but since POSIX doesn't provide a way
> to acquire a file lock with a timeout, we just try once a second for
> five seconds, which doesn't provide any kind of fairness guarantee,
> unfortunately.

I think it should be possible to do something using alarm() to provide
timeouts for lock acquisition, but that wouldn't work well inside a
library.
________________________________________________
Kerberos mailing list           [email protected]
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to