×

Last thread lock management for multi-threaded process and distributed data systems

  • US 7,565,406 B2
  • Filed: 07/24/2002
  • Issued: 07/21/2009
  • Est. Priority Date: 07/24/2002
  • Status: Active Grant
First Claim
Patent Images

1. A distributed data system, comprising:

  • a plurality of network nodes each configured to execute one or more multi-threaded processes comprising a plurality of threads;

    a data store configured to store primary data accessible by the multi-threaded processes; and

    a lock mechanism coupled to the data store and configured to lock access to portions of the primary data, wherein the lock mechanism is configured to grant a lock to a requester for one of the multi-threaded processes for a primary data portion stored by the data store, wherein the lock mechanism is configured to prevent other processes from accessing the primary data portion while the requester is granted the lock;

    wherein each of the multi-threaded processes executing on the plurality of network nodes is configured to have a particular thread of the multi-threaded process request a lock for the portion of the primary data from the lock mechanism, wherein the multi-threaded process is configured to retain the lock while one or more other threads of the multi-threaded process requesting access to the locked portion of primary data access the locked portion of the primary data, and wherein the last thread among the one or more other threads to access the locked portion of primary data is configured to release the lock in response to a determination that no further requests for access to the locked portion of primary data from other threads of the multi-threaded process are pending, wherein said one or more other threads of the multi-threaded process are different than said particular thread of the multi-threaded process.

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