发明名称 |
Managing resource pools for deadlock avoidance |
摘要 |
In an illustrative embodiment of a method for managing a resource pool for deadlock avoidance, a computer receives a request from a thread for a connection from the resource pool, and determines whether the thread currently has at least one connection from the resource pool. Responsive to a determination that the thread currently has at least one connection from the resource pool, a new concurrent connection from one of a reserved partition of the resource pool is allocated and the connection is returned to the thread. |
申请公布号 |
US9104502(B2) |
申请公布日期 |
2015.08.11 |
申请号 |
US201213716108 |
申请日期 |
2012.12.15 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
Dunn Robert M. H.;Joines Stacy R.;Stephens James M.;Thomson Brian W. |
分类号 |
G06F9/46;G06F9/52;G06F9/50 |
主分类号 |
G06F9/46 |
代理机构 |
Lee Law, PLLC |
代理人 |
Lee Law, PLLC ;Lee Christopher B. |
主权项 |
1. A computer program product for managing a resource pool for deadlock avoidance, the computer program product comprising:
one or more computer recordable-type data storage devices containing computer executable program code stored thereon, the computer executable program code comprising: computer executable program code for receiving a request from a thread for a connection from the resource pool; computer executable program code for determining whether the thread currently has at least one connection from the resource pool; and computer executable program code responsive to a determination that the thread currently has at least one connection from the resource pool, for allocating a new concurrent connection to the thread from one of a reserved partition of the resource pool, where the reserved partition and the resource pool serve a same at least one resource. |
地址 |
Armonk NY US |