首页> 外国专利> Low-overhead threads in a high-concurrency system

Low-overhead threads in a high-concurrency system

机译:高并发系统中的低开销线程

摘要

A method and system for providing the functionality of dynamically-allocated threads in a multithreaded system, in which the operating system provides only statically-allocated threads. With this functionality, a relatively large number of threads can be maintained without a relatively large amount of overhead (either in memory or processor time), and it remains possible to produce program code without undue complexity. A plurality of dynamically-allocated threads are simulated using a single statically-allocated thread, but with state information regarding each dynamically-allocated thread maintained within the single statically-allocated thread. The single statically-allocated thread includes, for each procedure call that would otherwise introduce a new simulated thread, a memory block including (1) a relatively small procedure call stack for the new simulated thread, and (2) a relatively small collection of local variables and other state information for the new simulated thread.
机译:一种用于在多线程系统中提供动态分配的线程的功能的方法和系统,其中操作系统仅提供静态分配的线程。利用此功能,可以维持相对大量的线程而没有相对大量的开销(在内存或处理器时间上),并且仍然可以产生程序代码而没有不适当的复杂性。使用单个静态分配线程模拟多个动态分配线程,但是使用有关在单个静态分配线程中维护的每个动态分配线程的状态信息。对于每个否则会引入新的模拟线程的过程调用,单个静态分配的线程包括一个内存块,该存储块包括(1)用于该新模拟线程的相对较小的过程调用堆栈,以及(2)相对较小的local集合新模拟线程的变量和其他状态信息。

著录项

  • 公开/公告号US6874027B1

    专利类型

  • 公开/公告日2005-03-29

    原文格式PDF

  • 申请/专利权人 ROBERT M. ENGLISH;

    申请/专利号US20000590491

  • 发明设计人 ROBERT M. ENGLISH;

    申请日2000-06-09

  • 分类号G06F15/173;

  • 国家 US

  • 入库时间 2022-08-21 22:19:34

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号