Invention Grant
- Patent Title: Optimized preemption and reservation of software locks for woken threads
- Patent Title (中): 优化抢占线程的软件锁的抢占和预留
-
Application No.: US12049304Application Date: 2008-03-15
-
Publication No.: US08261279B2Publication Date: 2012-09-04
- Inventor: Jos Manuel Accapadi , Matthew Accapadi , Andrew Dunshea , Dirk Michel
- Applicant: Jos Manuel Accapadi , Matthew Accapadi , Andrew Dunshea , Dirk Michel
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: VanLeeuwen & VanLeeuwen
- Agent Matthew W. Baca
- Main IPC: G06F9/46
- IPC: G06F9/46

Abstract:
An approach is provided that reserves a software lock for a waiting thread is presented. When a software lock is released by a first thread, a second thread that is waiting for the same resource controlled by the software lock is woken up. In addition, a reservation to the software lock is established for the second thread. After the reservation is established, if the lock is available and requested by a thread other than the second thread, the requesting thread is denied, added to the wait queue, and put to sleep. In addition, the reservation is cleared. After the reservation has been cleared, the lock will be granted to the next thread to request the lock.
Public/Granted literature
- US20080163217A1 Optimized Preemption and Reservation of Software Locks Public/Granted day:2008-07-03
Information query