Author: Garry Carroll
Posted: Fri Sep 30, 2016 2:30 pm (GMT 5.5)
No, you are not preventing the program from executing another copy. All you are doing is signalling that you want to reserve 'something' that you;ve named. If others ignore the reserve you've placed, there's no effect. If others also issue an ENQ for the same 'something', they get suspended until you issue a DEQ.
Garry.
_________________
Everyone's entitled to ONE fatal mistake.....
Posted: Fri Sep 30, 2016 2:30 pm (GMT 5.5)
Quote: |
Sorry I am not still clear.For example if I ENQ a program means I am holding the program from executing another copy. |
No, you are not preventing the program from executing another copy. All you are doing is signalling that you want to reserve 'something' that you;ve named. If others ignore the reserve you've placed, there's no effect. If others also issue an ENQ for the same 'something', they get suspended until you issue a DEQ.
Garry.
_________________
Everyone's entitled to ONE fatal mistake.....