Alvaro Herrera wrote:
Alvaro Herrera wrote:

Note that it may fail!  This seems to indicate that some platforms do
not provide either locking mechanism.

(Which means the whole discussion is a waste of time)


Umm, no, I don't think so. It will block instead of failing unless you request a non blocking call. Failure means someone else holds the lock.

But what Tom says about NFS is probably true, and a good enough reason not to trust locking in general for this purpose, I think

cheers

andrew

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to