Invention Grant
US07657527B2 System and method for detecting termination of an application instance using locks
有权
用于使用锁检测应用程序实例终止的系统和方法
- Patent Title: System and method for detecting termination of an application instance using locks
- Patent Title (中): 用于使用锁检测应用程序实例终止的系统和方法
-
Application No.: US11407310Application Date: 2006-04-18
-
Publication No.: US07657527B2Publication Date: 2010-02-02
- Inventor: Carol L. Colrain , Xing Du
- Applicant: Carol L. Colrain , Xing Du
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Hickman Palermo Truong & Becker LLP
- Main IPC: G06F7/00
- IPC: G06F7/00 ; G06F17/30

Abstract:
A system and method for detecting termination of an application, such as a database instance, that uses locks is described. A holding child process is started from a parent process. The holding child process connects to a monitored application instance, acquires an exclusive lock on the monitored application instance and returns a ready signal upon successfully acquiring the exclusive lock. A waiting child process is started from the parent process subsequent to the holding child process. The holding child process connects to the monitored application instance, blocks on the exclusive lock on the monitored application instance and returns a result signal upon at least one of acquiring the exclusive lock and clearing the block on the exclusive lock. The return signal is processed at the parent process. Using locks provides immediate detection that the application has terminated. Methods for blocking against the application are also described.
Public/Granted literature
- US20060190453A1 System and method for detecting termination of an application instance using locks Public/Granted day:2006-08-24
Information query