Inter-system transport mechanism for use with robotic data cartridge handling systems |
| The present invention is directed to a mechanism for transporting data cartridges between two or ... |
|
Optical information recording medium which uses diffraction grating |
| We claim: 1. An optical information recording medium characterized in that at least one cell ... |
|
Control apparatus for controlling data flow between a control processing unit and peripheral devices |
| What I claim is: 1. In a data processing system, a peripheral control apparatus for controlling the ... |
|
Successive approximation S/D converter with inherent quantization error centering |
| It is the object of the present invention to provide a synchro to digital successive approximation ... |
|
Data and parity prefetching for redundant arrays of disk drives |
| The present invention provides a system which improves the I/O performance of a computer system ... |
|
Disk drive controller with a posted write cache memory |
| OF THE PREFERRED EMBODIMENT Referring now to FIG. 1, the letter D general represents a disk array ... |
|
Decoupled DMA transfer list storage technique for a peripheral resource controller |
| The problems outlined above are in large part solved by a decoupled DMA transfer list storage ... |
|
Method and apparatus for enhancing throughput of disk array data transfers in a controller |
| In accordance with one embodiment of the present invention, there is provided a method for ... |
|
|
Method and system for controlling exclusive access to shared resources in computers
| Details |
Inventors: Kido, Kazutaka;
Assignee: Sanyo Electric Co., Ltd. (Osaka, JP)
Primary Examiner: Banankhah; Majid A.
Assistant Examiner:
Attorney, Agent or Firm: Darby & Darby
A computer system for controlling a process, which obtains an exclusive control module (semaphore X, Y, Z) indicating an exclusive use right of a resources (HDD 13, video buffer 140, audio buffer 150, etc.,) commonly shared by two or more processes (task A, B etc.,), so as to obtain the exclusive use right of the resource corresponding to the exclusive control module obtained by said process, and for controlling the process, when said process releases the exclusive control module, so as to lose the exclusive use right of the resource corresponding to the released exclusive control module, wherein exception handlers in which a procedure for processing a resource exclusively controlled by the corresponding semaphore after the task is abnormally terminated is defined for each of semaphore; and when the task is terminated with the semaphore being obtained, activating the exception handler defined corresponding to the semaphore. Accordingly, in case that the task in the computer system is abnormally terminated with the semaphore being obtained, the exception handler releases the semaphore definitely and safely. |
|
DETAILED DESCRIPTION What is claimed is: 1. An exclusive control method for a computer system for controlling an obtaining process, which obtains an exclusive control module indicating an exclusive use right of a corresponding resource commonly shared by two or more processes, so as to obtain the exclusive use right of the corresponding resource, and for controlling the obtaining process, when said process releases the exclusive control module, so as to lose the exclusive use right of corresponding resource, comprising the steps of: registering for each exclusive control module a program in which a procedure is described for processing a resource exclusively controlled by the corresponding exclusive control module after the process which has obtained that module is abnormally terminated; and when a process is abnormally terminated with an exclusive control module obtained, activating the program registered to said exclusive control module obtained by said abnormally terminated process. 2. A computer system having a plurality of shared resources whose exclusive use rights by a process are indicated by respective exclusive control modules, in which, when a process obtains one of the exclusive control modules, the process is controlled so as to obtain an exclusive use right of the resource corresponding to the exclusive control module obtained by said process, and when the process releases the exclusive control module, the process is controlled so as to lose the exclusive use right of the resource corresponding to the released exclusive control module, comprising: exclusive control module managing means to which is registered information identifying a program containing a procedure for processing a resource exclusively controlled by the corresponding exclusive control module after the process is abnormally terminated, for each of the exclusive control modules; process managing means, when said process obtains the exclusive control module, to which is recorded information identifying the exclusive control module obtained by said process; means for, when said process is abnormally terminated with the exclusive control module obtained, reading the information identifying the exclusive control module from said process managing means of said process; and means for activating the program registered with the exclusive control module managing means for a particular resource after the process is abnormally terminated which has obtained the corresponding exclusive control module
|
|