发明名称 Mechanism for Managing Resource Locking in a Multi-Threaded Environment
摘要 A mechanism is disclosed for implementing resource locking in a massively multi-threaded environment. The mechanism receives from a stream a request to obtain a lock on a resource. In response, the mechanism determines whether the resource is currently locked. If so, the mechanism adds the stream to a wait list. At some point, based upon the wait list, the mechanism determines that it is the stream's turn to lock the resource; thus, the mechanism grants the stream a lock. In this manner, the mechanism enables the stream to reserve and to obtain a lock on the resource. By implementing locking in this way, a stream is able to submit only one lock request. When it is its turn to obtain a lock, the stream is granted that lock. This lock reservation methodology makes it possible to implement resource locking efficiently in a massively multi-threaded environment.
申请公布号 US2010205608(A1) 申请公布日期 2010.08.12
申请号 US20100698860 申请日期 2010.02.02
申请人 NEMIROVSKY MARIO D;HUYNH JEFFREY T 发明人 NEMIROVSKY MARIO D.;HUYNH JEFFREY T.
分类号 G06F9/46;G06F9/00;G06F9/38;G06F9/48;H04L1/00 主分类号 G06F9/46
代理机构 代理人
主权项
地址