System and method for improved complex storage locks
Abstract
An improved system and method for improving complex storage locks that manage access to a shared resource. A FIFO queue is maintained for processes waiting to read or write to the shared resource. When the shared resource is available, the first item is read from the queue. If the first item is a write requestor, the requestor is woken up in order to request the lock. If the first item on the queue is a read requestor, then that read requestor is woken up along with any other read requestors read from the queue until a write requestor is encountered or the end of the queue is reached. When the write wanted flag is set, new read requestors are denied access to the read lock, however any read requestors that were woken up in order to use the read lock are granted a read lock.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 27.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of managing a shared resource accessed through a resourse lock, said method comprising: determining whether a process identifier included in a queue corresponds to a read requestor or a write requestor; allowing the write requestor to write to the shared resource in response to the process identifier corresponding to the write requestor; allowing one or more successive read requestors to read from the shared resource in response to the process identifier corresponding to one of the read requestors; and speeding up processing for one or more of the read requestors that acquire the reso
- Claim 2Depends on #1
The method as described in claim 1 further comprising: setting the resource lock in an available mode; setting the resource lock in a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗