Fair scalable reader-writer mutual exclusion
US8127303B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | May 18, 2010 |
| Grant date | Feb 28, 2012 |
| Priority date | — |
| Expiry date | Sep 3, 2030 |
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.