发明名称 |
ASYNCHRONOUS PROGRAMMING MODEL FOR CONCURRENT WORKFLOW SCENARIOS |
摘要 |
Asynchronous functions in a programming workflow are executed by first storing a context structure comprising workflow-specific global variables and a global-context pointer variable that is a pointer to the context structure. When an asynchronous function is executed, the global-context pointer variable is stored in a local variable and, when the function completes, the global-context pointer variable is restored with the local variable. |
申请公布号 |
US2014282625(A1) |
申请公布日期 |
2014.09.18 |
申请号 |
US201414209723 |
申请日期 |
2014.03.13 |
申请人 |
Chico de Guzman Huerta Pablo;Maestro Alberto Arias;Cuadrado Amadeo Casas |
发明人 |
Chico de Guzman Huerta Pablo;Maestro Alberto Arias;Cuadrado Amadeo Casas |
分类号 |
G06F9/54 |
主分类号 |
G06F9/54 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for executing asynchronous functions in a programming workflow, the method comprising:
storing, in a computer memory, a context structure comprising workflow-specific global variables; storing, in the computer memory, a global-context pointer variable comprising a pointer to the context structure; storing the global-context pointer variable in a local variable of an asynchronous function; executing with a computer processor, from a waiting state of the programming workflow, the asynchronous function; and restoring the global-context pointer variable with the local variable. |
地址 |
Murica ES |