发明名称 Method and apparatus for detecting dependency cycles between resources in a computer system
摘要 One embodiment of the present invention provides a system that detects cycles in a set of dependencies between a set of resources in a computer system. The system operates by receiving a new dependency indicating that a first resource cannot proceed unless a second resource is able to proceed. The system determines if the new dependency creates a cycle in the set of dependencies by performing a search, which looks for cycles of dependencies starting from the first resource and ending at the first resource. If the search detects such a cycle, the system indicates that the new dependency creates the cycle. The system may also send an error message when the cycle is detected, and may abort further processing. In one embodiment of the present invention, the new dependency between the first resource and the second resource indicates that the second resource must be started before the first resource is started. In one embodiment of the present invention, the new dependency between the first resource and the second resource indicates that the first resource must be stopped before the second resource is stopped.
申请公布号 US6681242(B1) 申请公布日期 2004.01.20
申请号 US20000480149 申请日期 2000.01.10
申请人 SUN MICROSYSTEMS, INC. 发明人 KUMAR NAVEEN;HISGEN ANDREW L.
分类号 G06F9/00;G06F9/46;G06F15/173;(IPC1-7):G06F9/00 主分类号 G06F9/00
代理机构 代理人
主权项
地址