Method, product, and structure for flexible range locking of read and write requests using shared and exclusive locks, flags, sub-locks, and counters

Number of patents in Portfolio can not be more than 2000

United States of America Patent

PATENT NO 5761659
SERIAL NO

08607965

Stats

ATTORNEY / AGENT: (SPONSORED)

Importance

Loading Importance Indicators... loading....

Abstract

See full text

A flexible, low cost range locking mechanism allows a process requesting a lock to place a lock upon any requested range within a resource of a computer system. Various processes may hold locks upon different ranges of a resource simultaneously. A particular range may also be locked by different processes that are able to share the range. A sub-lock represents a unique range of the resource and has begin and end points that identify that portion of the requested range to which the sub-lock corresponds. A locked range may include numerous sub-locks. Each sub-lock has a mode indicating whether the sub-lock represents a shared lock, an exclusive lock or other. Sub-locks also have an incremental counter indicating the number of processes that hold a read lock upon a region, a flag to indicate whether a process is waiting to lock the region, a queue for listing waiting processes and other attributes. Sub-locks are stored in a data structure sequentially in the order in which they occur within the resource to facilitate searching. A range of a resource that is locked by one or more processes is indicated by setting the incremental counter of the sub-lock corresponding to that range to the number of processes that share the range. A requested range that either begins or ends within a previously locked region may result in the region being split into two distinct and contiguous regions, each region having a corresponding sub-lock. A range beginning and ending within a locked region splits the region into three regions.

Loading the Abstract Image... loading....

First Claim

See full text

Family

Loading Family data... loading....

Patent Owner(s)

Patent OwnerAddress
ORACLE AMERICA INC500 ORACLE PARKWAY REDWOOD SHORES CA 94065

International Classification(s)

  • [Classification Symbol]
  • [Patents Count]

Inventor(s)

Inventor Name Address # of filed Patents Total Citations
Bertoni, Jonathan L Mountain View, CA 3 232

Cited Art Landscape

Load Citation

Patent Citation Ranking

Forward Cite Landscape

Load Citation