Invention Grant
- Patent Title: Synchronization mechanisms based on counters
- Patent Title (中): 基于计数器的同步机制
-
Application No.: US12412325Application Date: 2009-03-26
-
Publication No.: US08392925B2Publication Date: 2013-03-05
- Inventor: Ananthakrishna Ramesh , James M. Magee
- Applicant: Ananthakrishna Ramesh , James M. Magee
- Applicant Address: US CA Cupertino
- Assignee: Apple Inc.
- Current Assignee: Apple Inc.
- Current Assignee Address: US CA Cupertino
- Agency: Blakely, Sokoloff, Taylor & Zafman LLP
- Main IPC: G06F12/00
- IPC: G06F12/00

Abstract:
A method and apparatus which maintain a plurality of counters to synchronize a plurality of requests for a lock independent of interlocks. 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.
Public/Granted literature
- US20100250809A1 SYNCHRONIZATION MECHANISMS BASED ON COUNTERS Public/Granted day:2010-09-30
Information query