发明名称 Managing a Resource Lock
摘要 A method of operating a resource lock for controlling access to a resource by a plurality of resource requesters, the resource lock operating in a contention efficient (heavyweight) operating mode, and the method being responsive to a request from a resource requester to acquire the resource lock, the method comprising the steps of: incrementing a count of a total number of acquisitions of the resource lock in the contention efficient operating mode, in response to a determination that access to the resource is not contended by more than one resource requester, performing the steps of: a) incrementing a count of a number of uncontended acquisitions of the resource lock in the contention efficient operating mode; b) calculating a contention rate as the number of uncontended acquisitions in the contention efficient operating mode divided by the total number of acquisitions in the contention efficient operating mode; and c) in response to a determination that the contention rate meets a threshold contention rate, causing the resource lock to change to a non-contention efficient (lightweight) operating mode.
申请公布号 US2007067530(A1) 申请公布日期 2007.03.22
申请号 US20060530055 申请日期 2006.09.08
申请人 SIEGWART DAVID K 发明人 SIEGWART DAVID K.
分类号 G06F12/14;G06F9/46 主分类号 G06F12/14
代理机构 代理人
主权项
地址