发明名称 Method and apparatus for providing dynamic locks for resources
摘要 A system and method are provided to facilitate applying a dynamic lock to a range of a resource within a computer system. Upon receiving a request to lock a range of the resource from a thread, the system examines an active lock pool to determine if the range of the resource is currently locked. If not, the system retrieves a dynamic lock from a free lock pool. Next, the system sets resource information in the dynamic lock so that the dynamic lock is associated with the resource. The system also sets owner information in the dynamic lock so that the dynamic lock is associated with the thread that is requesting the dynamic lock. Finally, the system adds the dynamic lock to the active lock pool. <IMAGE>
申请公布号 EP1435572(A2) 申请公布日期 2004.07.07
申请号 EP20030256323 申请日期 2003.10.08
申请人 SUN MICROSYSTEMS, INC. 发明人 JEYARAM, PRABAHAR
分类号 G06F9/46;G06F12/14 主分类号 G06F9/46
代理机构 代理人
主权项
地址