Patents
US 6,115,802 A#87161 Most CitedExpiredUnited States (USPTO)Utility

Efficient hash table for use in multi-threaded environments

160Forward Citations (#87161 Global)
6.2/yrCitation Velocity (#167888 Global)
24.28Citation PageRank (#241557 Global)
6Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A lockless-lookup hash table for use in a multi-threaded processing system has a memory whose storage locations hold elements. Each memory location is uniquely identified by an index value, and each element includes a key and a value. The target location for storing an input value is determined by generating a hash value from an input key value, and probing storage locations, beginning at the one designated by the generated hash value, until an empty location is found. In accordance with one aspect of the invention, the hash table may be used as a commonly accessed resource in a multi-threaded environment without requiring locks associated with lookup operations. In such environments, incorrect results may be tolerated, so long as the lookup operation is guaranteed never to return a value that had never been stored into the table by one of the threads in the system. This characteristic is provided in the present invention by an insert operation that never writes the value portion of the element into a location last. Instead, the last thing stored by an insert operation is the key, or alternatively any other portion of the element that is utilized by the lookup operation for determi

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 160.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    In a processing system having a hash table that is accessible to only one thread, the hash table having a plurality of locations each being identified by an index value and each adapted for storage of a stored entry therein, each stored entry comprising a stored key, a stored value, a stored hash value derived from a first operation on the stored key, and an indication that the location at which the stored entry is stored contains a valid stored entry, a previously deleted stored entry, or is currently empty, a method of performing a lookup operation of a stored entry having a matching lookup

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗