Patent ID: 7500037

Claim:
A computer program product to manage locks under conditions wherein there is a first shared hold on a lock, a first pending request for a first exclusive hold on said lock, said first pending request for said first exclusive hold being made after said first shared hold was granted, there is a second pending request for a second exclusive hold on said lock, said second pending request for said second exclusive hold being made after said first pending request for said first exclusive hold, there is a third pending request for a second shared hold, said third pending request for said second shared hold being made after said second pending request for said second exclusive hold, wherein said computer program product comprises: a computer readable media; first program instructions to grant one of said pending requests for an exclusive hold in response to said first shared hold being released; second program instructions to grant said third pending request for said second shared hold in response to release of said exclusive hold previously granted in response to said one request for an exclusive hold; and third program instructions to grant another of said requests for an exclusive hold in response to said second shared hold being released; and wherein said first, second and third program instructions are stored on said media in functional form.