Patent ID: 9542235
Date: 2017-01-10
CPC Classifications: G06F

Claim:
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.