首页> 外国专利> Method and system for executing third-party agent code in a data processing system

Method and system for executing third-party agent code in a data processing system

机译:在数据处理系统中执行第三方代理代码的方法和系统

摘要

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.
机译:在一个实施例中,代理例程在第一线程中执行,每个代理例程由协程之一调用。代理处理器在第二线程中执行与一个或多个代理例程相关联的代理,包括从协程中的第一个协程接收第一收益信号,该信号指示第一代理例程产生收益以执行需要动作模拟的第一动作响应于第一产量信号,挂起第一协程,从由代理处理器维护的第一代理队列的头部选择协程中的第二协程,并通过将执行锁分配给第二协程来执行第二协程。在第三线程中,模拟器代表第一协程模拟第一动作,并在完成对第一动作的模拟后向代理处理器发送信号以恢复第一协程。

著录项

  • 公开/公告号US9516100B2

    专利类型

  • 公开/公告日2016-12-06

    原文格式PDF

  • 申请/专利权人 TRAVIS T. WILSON;

    申请/专利号US201514612149

  • 发明设计人 TRAVIS T. WILSON;

    申请日2015-02-02

  • 分类号G06F9/54;H04L29/08;G06F9/48;

  • 国家 US

  • 入库时间 2022-08-21 13:41:04

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号