首页> 外国专利> Mechanism for effectively handling livelocks in a simultaneous multithreading processor

Mechanism for effectively handling livelocks in a simultaneous multithreading processor

机译:在同时多线程处理器中有效处理活锁的机制

摘要

A method and multithreaded processor for handling livelocks in a simultaneous multithreaded processor. A number of instructions for a thread in a queue may be counted. A counter in the queue may be incremented if the number of instructions for the thread in the queue in a previous clock cycle is equal to the number of instructions for the thread in the queue in a current clock cycle. If the value of the counter equals a threshold value, then a livelock condition may be detected. Further, if the value of the counter equals a threshold value, a recovery action may be activated to handle the livelock condition detected. The recovery action may include blocking the instructions associated with a thread causing the livelock condition from being executed thereby ensuring that the locked thread makes forward progress.
机译:一种用于同时处理多线程处理器中的活锁的方法和多线程处理器。可以计算队列中线程的许多指令。如果前一个时钟周期中队列中线程的指令数等于当前时钟周期中队列中线程的指令数,则队列中的计数器可以增加。如果计数器的值等于阈值,则可以检测到活锁条件。此外,如果计数器的值等于阈值,则可以激活恢复动作以处理检测到的活锁状况。恢复动作可以包括阻止与导致活锁条件的线程相关联的指令被执行,从而确保锁定的线程前进。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号