发明名称 ACCOMODATING SYNCHRONOUS OPERATIONS IN AN ASYNCHRONOUS SYSTEM
摘要 A method, system, and computer program product includes a processor storing, in an order of invocation, a plurality of operations in an ordered list. The first entry is a primary operation and that is a synchronous operation and the subsequent entries include an asynchronous operation, and the secondary operations are required to complete before the primary operation can complete. The processor invokes, in the order of invocation, the plurality of operations. Based on invoking the primary operation and the secondary operations, the processor stores information about the operations as content in a stack. The processor determines that the primary operation can be completed by analyzing a portion of the content of the stack.
申请公布号 US2017090998(A1) 申请公布日期 2017.03.30
申请号 US201514967575 申请日期 2015.12.14
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 PILKINGTON Adam J.
分类号 G06F9/52 主分类号 G06F9/52
代理机构 代理人
主权项 1. A computer-implemented method, the method comprising: storing, by a processor, in an order of invocation, a plurality of operations in an ordered list, wherein the first entry in the ordered list comprises a primary operation and the primary operation is a synchronous operation,wherein subsequent entries in the ordered list comprise secondary operations, and the secondary operations comprise an asynchronous operation, andwherein the secondary operations are required to complete before the primary operation can complete; invoking, by the processor, in the order of invocation, the plurality of operations; based on invoking the primary operation, storing, by the processor, as content of a stack, information about the primary operation; based on invoking the secondary operations, storing, by the processor, as the content of the stack, information about the secondary operations, wherein the information about the secondary operations comprises information about the asynchronous operation; and determining, by the processor, that the primary operation can be completed, wherein the determining comprises analyzing a portion of the content of the stack.
地址 Armonk NY US