首页> 外国专利> Cooperative scheduling using coroutines and threads

Cooperative scheduling using coroutines and threads

机译:使用协程和线程的协同调度

摘要

A database system may provide definition of a first plurality of tasks associated with coroutine execution, and a second plurality of tasks associated with task-specific thread execution. Also provided may be spawning of a control thread and a plurality of threads, each of the plurality of threads associated with one of the second plurality of tasks, and running of the control thread to determine if a task of the first plurality of tasks and the second plurality of tasks is associated with coroutine execution or with task-specific thread execution. If the task is determined to be associated with coroutine execution, the control thread may be run to swap a coroutine context of the control thread with a coroutine context of the task. If the task is determined to be associated with thread execution, the control thread may be run to resume a thread associated with the task and to suspend the control thread.
机译:数据库系统可以提供与协程执行相关联的第一多个任务以及与任务特定线程执行相关联的第二多个任务的定义。还可以提供控制线程和多个线程的产生,多个线程中的每一个与第二多个任务之一相关联,以及控制线程的运行以确定第一多个任务中的一个任务和第二个任务中的一个。第二多个任务与协程执行或与任务特定的线程执行相关联。如果确定任务与协程执行相关联,则可以运行控制线程以将控制线程的协程上下文与任务的协程上下文交换。如果确定任务与线程执行相关联,则可以运行控制线程以恢复与任务相关联的线程并挂起控制线程。

著录项

  • 公开/公告号EP1788486A3

    专利类型

  • 公开/公告日2008-02-27

    原文格式PDF

  • 申请/专利权人 SAP AG;

    申请/专利号EP20060022180

  • 发明设计人 MENSING JÖRG W.;

    申请日2006-10-23

  • 分类号G06F12/00;G06F9/48;

  • 国家 EP

  • 入库时间 2022-08-21 19:57:40

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号