Method and system for executing third-party agent code in a data processing system
US9516100B2 · kind B2 · utility
Assignee
Inventor
Key dates
| Filing date | Feb 2, 2015 |
| Grant date | Dec 6, 2016 |
| Priority date | — |
| Expiry date | Feb 15, 2035 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F21/53
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
In one embodiment, agent routines are executed in a first thread, each agent routine being invoked by one of coroutines. A agent processor executes in a second thread the agents associated with the one or more agent routines, including receiving a first yield signal from a first of the coroutines indicating that a first of the agent routines yields to perform a first action that requires an action simulation, in response to the first yield signal, suspending the first coroutine, selecting a second of the coroutines from a head of a first agent queue maintained by the agent processor, and executing the second coroutine by assigning the execution lock to the second coroutine. In a third thread, a simulator simulates the first action on behalf of the first coroutine and signals the agent processor to resume the first coroutine after completing the simulation of the first action.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.