发明授权
US07287131B1 Method and apparatus for implementing a fully dynamic lock-free hash table
有权
用于实现完全动态无锁哈希表的方法和装置
- 专利标题: Method and apparatus for implementing a fully dynamic lock-free hash table
- 专利标题(中): 用于实现完全动态无锁哈希表的方法和装置
-
申请号: US10674942申请日: 2003-09-29
-
公开(公告)号: US07287131B1公开(公告)日: 2007-10-23
- 发明人: Paul A. Martin , Victor Luchangco , Jan-Willem Maessen
- 申请人: Paul A. Martin , Victor Luchangco , Jan-Willem Maessen
- 申请人地址: US CA Santa Clara
- 专利权人: Sun Microsystems, Inc.
- 当前专利权人: Sun Microsystems, Inc.
- 当前专利权人地址: US CA Santa Clara
- 代理机构: Park, Vaughan & Fleming LLP
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
One embodiment of the present invention provides a system that implements a hash table that is fully dynamic and lock-free. During a lookup in the hash table the system first uses a hash key to lookup a bucket pointer in a bucket array. Next, the system follows the bucket pointer to a data node within a linked list that contains all of the data nodes in the hash table, wherein the linked list contains only data nodes and at most a constant number of dummy nodes. The system then searches from the data node through the linked list to locate a node that matches the hash key, if one exists.
信息查询