发明名称 Method and apparatus for providing dynamic locks for global resources
摘要 One embodiment of the present invention provides a system that facilitates applying a dynamic lock to a range of a resource within a computer system. Upon receiving a request to lock to the 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.
申请公布号 US2004088573(A1) 申请公布日期 2004.05.06
申请号 US20020285177 申请日期 2002.10.31
申请人 JEYARAM PRABAHAR 发明人 JEYARAM PRABAHAR
分类号 G06F9/46;G06F12/14;(IPC1-7):G06F12/14 主分类号 G06F9/46
代理机构 代理人
主权项
地址