摘要 |
PURPOSE:To unlink a module dynamically linked at the execution of a process automatically even when the process is abnormally ended by forming a link control table for dynamically controlling the link of a module included in each logical address space in each process. CONSTITUTION:A program module, a subprogram module and a data module loaded to a real memory are registered in a module control table 3 at the time of loading. The module control table 3 is searched on the basis of a segment No. and a module address, and if the module is not detected, the operation is ended as an error. When the module is detected, a link count in the entry of the detected module control is detected, a link count in the entry of the detected module control table is subtracted by '1'. If the link count is positive, normal end is executed. When the link count is '0', the memory is turned to a blank area on the basis of the segment No. and the module address and the entry of the module control table is cleared to execute normal end.
|