首页>
外国专利>
Monitoring of shared-resource locks in a multi-processor system with locked-resource bits packed into registers to detect starved threads
Monitoring of shared-resource locks in a multi-processor system with locked-resource bits packed into registers to detect starved threads
展开▼
机译:监视多处理器系统中的共享资源锁,将锁定资源位打包到寄存器中以检测饥饿的线程
展开▼
页面导航
摘要
著录项
相似文献
摘要
A resource-lock monitor detects when processors in a multi-processor system are stuck waiting for access to a shared resource. A lock-monitor register has a lock bit and a sticky-lock bit for each processor being monitored. The lock and the sticky-lock bits are both set when the processor executes a lock instruction that also sends a lock-request to a resource arbiter. The lock bit is cleared when the resource arbiter grants access to the processor, but the sticky-lock bit remains set until sticky-lock bits are cleared by monitoring software at the end of a monitoring period. At the end of each monitoring period, monitoring software reads the lock and sticky-lock bits and finds a locked processor when a processor's lock bit is still set, but its sticky-lock bit is cleared. When the locked processor remains locked at the end of another monitoring period, an error handler resets the locked processor.
展开▼