| US 7,500,037 B2 | ||
| System, method and program for managing locks | ||
| Kevin Scott Adams, Endicott, N.Y. (US); Mark John Lorenc, Endwell, N.Y. (US); and Damian Leo Osisek, Vestal, N.Y. (US) | ||
| Assigned to International Business Machines Corporation, Armonk, N.Y. (US) | ||
| Filed on Jan. 30, 2007, as Appl. No. 11/668,574. | ||
| Prior Publication US 2008/0184249 A1, Jul. 31, 2008 | ||
| Int. Cl. G06F 9/52 (2006.01) | ||
| U.S. Cl. 710—200 [718/100; 718/102; 707/8] | 9 Claims |

| 4. A computer system for managing 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 system comprises:
means for granting one of said pending requests for an exclusive hold in response to said first shared hold being released;
means for granting 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
means for granting another of said requests for an exclusive hold in response to said second shared hold being released.
|