Synchronization mechanisms based on counters
AssigneeApple Inc.
InventorsANANTHAKRISHNA RAMESH, JAMES M. MAGEE
Life of this patent
Estimating the term…
Loading patent…
AssigneeApple Inc.
InventorsANANTHAKRISHNA RAMESH, JAMES M. MAGEE
Estimating the term…
A method and apparatus to maintain a plurality of counters to synchronize a plurality of requests for a lock independent of interlocks are described. The plurality of counters include a lock counter and an unlock counter. The requests wait in a wait queue maintained separately from the counters without direct access between the counters and the wait queue. The lock counter indicates a cumulative number of lock requests to acquire the lock. The unlock counter indicates a cumulative number of unlock requests to release the lock acquired. One or more requests waiting for the lock are selected according to the counters to be granted with the lock when the lock is released. A request corresponds to a task performing synchronized operations when granted with the lock.
A computer implemented method, comprising:
A machine-readable storage medium having instructions, when executed by a machine, cause the machine to perform a method, the method comprising:
An apparatus, comprising:
A computer implemented method, comprising:
A machine-readable storage medium having instructions, when executed by a machine, cause the machine to perform a method, the method comprising:
An apparatus, comprising:
A computer implemented method, comprising:
The method of 52, further comprising:
A machine-readable storage medium having instructions, when executed by a machine, cause the machine to perform a method, the method comprising:
An apparatus, comprising:
A computer implemented method, comprising:
Dependencies are inferred from the claim text.