×

Methods and apparatus for sharing stored data objects in a computer system

  • US 5,835,906 A
  • Filed: 07/01/1996
  • Issued: 11/10/1998
  • Est. Priority Date: 07/01/1996
  • Status: Expired due to Term
First Claim
Patent Images

1. In a computer system having a first plurality of stored data objects and capable of running multiple threads concurrently, an apparatus for preventing access conflicts, said access conflicts arise when more than one of said multiple threads were allowed to simultaneously access one of said first plurality of stored data object, comprising:

  • a dynamic lock structure having a plurality of dynamic lock structure members that each include a physical lock, said plurality of dynamic lock structure members being fewer in number than a number of said first plurality of stored data objects, wherein a second plurality of stored data objects of said first plurality of stored data objects map into a first dynamic lock structure member of said plurality of dynamic lock structure members in accordance with a mapping function, said mapping function renders it likely that only one stored data object of said second plurality of stored data objects that maps into said first dynamic lock structure member is accessed at any given point in time by a thread of said multiple threads; and

    storage facility associated with said first dynamic lock structure member for storing identities of a third plurality of stored data objects, said third plurality of stored data objects represents a subset of said second plurality of stored data objects that are currently being accessed, whereby a stored data object having its identity stored in said dynamic lock structure cannot be accessed by any thread other than a thread currently accessing said stored data object.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×