Patent · US Active

Using data in elements of a singly linked list without a lock in a multithreaded environment

US8141086B2 · kind B2 · utility

2Cited by
4References
19Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJun 6, 2008
Grant dateMar 20, 2012
Priority date
Expiry dateJan 19, 2031

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2209/521
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method and system for validating a scan of a chain in a multithreaded environment. A modification counter and an anchor address are atomically copied from the chain's header into a first variable (browse counter) and second variable, respectively. The second variable is set to a next address stored in a current element of the chain. The next address references a next element of the chain. The browse counter is incremented. If the browse counter is greater than a current value of the modification counter (M.Counter) and if the second variable includes a valid address, then the scan is valid up to the current element, the scan continues with the next element as the current element, and the process repeats starting with setting the second variable to the next address. Otherwise, if the browse counter is less than or equal to M.Counter, then the scan is invalid.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.