×

Process-safe read/write locks

  • US 9,542,235 B2
  • Filed: 12/14/2010
  • Issued: 01/10/2017
  • Est. Priority Date: 12/14/2010
  • Status: Active Grant
First Claim
Patent Images

1. A non-transitory processor-readable medium storing code representing instructions to cause a processor to:

  • obtain exclusive access to a first mutual exclusion object, the first mutual exclusion object associated with a shared resource;

    obtain, at a first time, exclusive access to a second mutual exclusion object, the second mutual exclusion object associated with an object manager module configured to instantiate a read event object in response to obtaining exclusive access to the second mutual exclusion object, the object manager module configured to add the read event object to a set of read event objects associated with the shared resource;

    release the first mutual exclusion object and the second mutual exclusion object after the read event object has been instantiated;

    obtain, at a second time, exclusive access to the first mutual exclusion object and the second mutual exclusion object;

    receive, from the object manager module and after obtaining exclusive access to the second mutual exclusion object at the second time, a count value calculated, by the object manager module, based on a number of read event objects in the set of read event objects;

    release the second mutual exclusion object;

    write one or more bits to the shared resource when the count value satisfies a criterion; and

    release the first mutual exclusion object in response to writing the one or more bits to the shared resource.

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