首页>
外国专利>
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.
展开▼