首页> 外国专利> Termination detection for shared-memory parallel programs

Termination detection for shared-memory parallel programs

机译:共享内存并行程序的终止检测

摘要

A “garbage collector” employed to reclaim memory dynamically allocated to data objects employs multiple execution threads to perform a parallel-execution operation and its garbage-collection cycle. A thread executes tasks that it selects from lists whose entries represent tasks dynamically identified during other tasks' performance. When a thread fails to find a task in one of these lists, it sets to an inactivity-indicating value a field associated with it in a global status word. It also determines whether any field associated with any of the other threads indicates activity. If not, the thread concludes that the parallel-execution operation has been completed. Otherwise, it returns to searching for further tasks to perform.
机译:用于回收动态分配给数据对象的内存的“垃圾收集器”使用多个执行线程来执行并行执行操作及其垃圾收集周期。线程执行从列表中选择的任务,这些任务的条目表示在其他任务执行期间动态标识的任务。当线程未能在这些列表之一中找到任务时,它将全局状态字中与之关联的字段设置为不活动指示值。它还确定与任何其他线程关联的任何字段是否指示活动。如果不是,则线程得出并行执行操作已完成的结论。否则,它将返回搜索要执行的其他任务。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号