Invention Grant
US07797706B2 Method and apparatus for thread-safe handlers for checkpoints and restarts
失效
用于检查点和重新启动的线程安全处理程序的方法和装置
- Patent Title: Method and apparatus for thread-safe handlers for checkpoints and restarts
- Patent Title (中): 用于检查点和重新启动的线程安全处理程序的方法和装置
-
Application No.: US11873540Application Date: 2007-10-17
-
Publication No.: US07797706B2Publication Date: 2010-09-14
- Inventor: Luke Matthew Browning , Suresh Eswara Warrier
- Applicant: Luke Matthew Browning , Suresh Eswara Warrier
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Yee & Associates, P.C.
- Agent Diana R. Gerhardt
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F12/00

Abstract:
A method, apparatus, and computer instructions for executing a handler in a multi-threaded process handling a number of threads in a manner that avoids deadlocks. A value equal to the number of threads executing in the data processing system is set. The value is decremented each time a lock count for a thread within the number of threads is zero. A thread within the number of threads is suspended if the thread requests a lock and has a lock count of zero. A procedure, such as a handler, is executed in response to all of the threads within the number of threads having no locks.
Public/Granted literature
- US20080077934A1 METHOD AND APPARATUS FOR THREAD-SAFE HANDLERS FOR CHECKPOINTS AND RESTARTS Public/Granted day:2008-03-27
Information query