Patent · US Active

Fair scalable reader-writer mutual exclusion

US7730491B2 · kind B2 · utility

8Cited by
11References
21Claims
0Family size

Assignee

Inventors

Key dates

Filing dateAug 30, 2005
Grant dateJun 1, 2010
Priority date
Expiry dateMar 27, 2029

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/526
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Implementing fair scalable reader writer mutual exclusion for access to a critical section by a plurality of processing threads in a processing system is accomplished by creating a first queue node for a first thread on the first thread's stack, the queue node representing a request by the first thread to access the critical section; adding the first queue node to a queue pointed to by a single word reader writer mutex for the critical section, the queue representing a list of threads desiring access to the critical section, each queue node in the queue being on a stack of a thread of the plurality of processing threads; waiting until the first queue node has no preceding write requests as indicated by predecessor queue nodes on the queue; entering the critical section by the first thread; exiting the critical section by the first thread; and removing the first queue node from the queue.

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