Patent ID: 9323585
Filing Date: 2016-04-26
CPC Classification: G06F

Claim Text:
1. A deadlock preventing apparatus comprising: a processor for executing an application program; a memory in communication with the processor; a deadlock-occurrence-position detecting section configured to detect a lock command causing a deadlock on a program code of the application program; an emergency processing section configured to insert a new lock command and a new unlock command to the program code to encompass a part from a lock command place corresponding to the lock command detected by the deadlock-occurrence-position detecting section to an unlock command place; a lock monitor configured to receive a lock request and an unlock request from the application program and manage a state of a lock; a lock-management-table storing section for the lock monitor to manage the state of the lock; a deadlock-management-table storing section in which the lock monitor records the state of the lock in order to detect the deadlock; a deadlock-graph-matrix storing section configured to manage a history of the state of the lock and record a place where the lock is performed in the application program; a lock-address-table storing section in which the lock monitor records a position where a lock request is issued on the program code; and a deadlock-graph creating section configured to create the deadlock graph matrix referring to the deadlock management table and the lock address table, wherein