Previous Topic: Alter the Status from EXCL to SHR

Next Topic: WAIT Operand

Alter the Status from SHR to EXCL

The following conditions must be satisfied before a request to alter a resource lock status from shared to exclusive will be successful:

If any other shared requests for the lock arrive before the status is altered to exclusive, these new shared requests are given precedence over the change to exclusive, and are granted shared ownership of the lock

If the request is successful the procedure owns the lock exclusively.