GregTomkins
Active Member
v10.1c, WebSpeed, no BIW, APW maybe/maybe not, WS/DB are on separate machines.
Process A and B both contain a single line of code, 'FIND FIRST some_table EXCLUSIVE-LOCK'.
Here is the question: once A gives up the lock, how long should it take for Process B to unblock?
Assume the machines are fast, and there are no other processes in the WS pipeline (eg. connect procedures).
My experience has normally been "instantly", but today, I am seeing "exactly 2,000 ms", and I am wondering what configuration / versions etc. could explain this.
Process A and B both contain a single line of code, 'FIND FIRST some_table EXCLUSIVE-LOCK'.
- Process A gets the lock.
- Process B runs before A ends, thus ,it blocks.
- Process A ends normally (and thus releases its lock).
Here is the question: once A gives up the lock, how long should it take for Process B to unblock?
Assume the machines are fast, and there are no other processes in the WS pipeline (eg. connect procedures).
My experience has normally been "instantly", but today, I am seeing "exactly 2,000 ms", and I am wondering what configuration / versions etc. could explain this.