发明名称 |
READER / WRITER LOCKING PROTOCOL |
摘要 |
A method of controlling access to a shared memory resource. Access is controlled according to a reader/writer lock protocol with a degree of reader/writer starvation set in accordance with a received starvation parameter. An intermediate degree of reader/writer starvation can be achieved by alternating between a reader starvation mode and a writer starvation mode. A new starvation mechanism is also described. The mechanism includes the steps of a) receiving a lock release request; b) determining whether a current lock holder is a reader or a writer; c) releasing the lock and assigning the lock to a waiting reader if step b) determines that the current lock holder is a reader; and d) releasing the lock and assigning the lock to a waiting reader if step b) determines that the current lock holder is a reader. |
申请公布号 |
WO2004111792(A3) |
申请公布日期 |
2006.05.26 |
申请号 |
WO2004US18429 |
申请日期 |
2004.06.10 |
申请人 |
HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.;SENGODAN, BALAJI, K. |
发明人 |
SENGODAN, BALAJI, K. |
分类号 |
G06F9/46 |
主分类号 |
G06F9/46 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|