×

Synchronization of metadata in a multi-threaded system

  • US 9,589,039 B2
  • Filed: 12/13/2012
  • Issued: 03/07/2017
  • Est. Priority Date: 12/13/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • receiving, by a first thread of a processing device, a request for a metadata structure located in a first cache associated with an object;

    accessing, by the first thread of the processing device, the first cache based upon a state of a synchronization mechanism associated with the first cache;

    comparing, by the first thread of the processing device, wherein comparing comprises;

    performing a comparison of the metadata structure to a value associated with the metadata structure, andholding, by the first thread of the processing device, the metadata structure associated with the object;

    operating, by the first thread of the processing device, on the metadata structure based upon the comparison of the metadata structure to the value;

    receiving, by a second thread of the processing device, a request for the metadata structure in a second cache associated with the object;

    accessing, by the second thread of the processing device, the second cache based upon a state of a synchronization mechanism associated with the second cache; and

    operating, by the second thread of the processing device, on the metadata structure after the first thread ceases holding the requested metadata structure.

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