发明名称 |
MANAGEMENT OF ASYNCHRONOUS AND SYNCHRONOUS RESOURCE REQUESTS |
摘要 |
Embodiments of the present invention provide systems, methods, and computer program products for managing requests for acquiring one or more resources in a computing environment. In one embodiment, successful acquisition of the one or more resources is determined. Embodiments of the present invention provide systems, methods, and computer program products for initiating a synchronous request to acquire the one or more resources, responsive to determining that the acquisition of the one or more resources is not successful. |
申请公布号 |
US2016381137(A1) |
申请公布日期 |
2016.12.29 |
申请号 |
US201514747033 |
申请日期 |
2015.06.23 |
申请人 |
International Business Machines Corporation |
发明人 |
Gentile Joseph W.;Hou Jie;Sica Andrew M.;Zobre Douglas M. |
分类号 |
H04L29/08 |
主分类号 |
H04L29/08 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method comprising:
receiving, by one or more computer processors, a first request to acquire one or more resources to perform a primary operation; responsive to determining that the one or more resources have not been pre-acquired, registering, by one or more computer processors, an interest of a first thread of a plurality of threads in the first request using a token, wherein the token manages information associated with the first request and can be accessed by each of the plurality of threads; determining, by one or more computer processors, whether acquisition of the one or more resources is successful; and responsive to determining that the acquisition of the one or more resources is not successful, determining, by one or more computer processors, to initiate a synchronous request to acquire the one or more resources, and unregistering the interest of the first thread of the plurality of threads in the first request. |
地址 |
Armonk NY US |