Patent ID: 6557166
Filing Date: 2003-04-29
Classification: G06F

Abstract:
A computer program on a storage medium for correcting a program stored in a main storage, access to which is shared by a plurality of command processors which can call said program simultaneously, said computer program when executed causes a computer to perform the steps of:ensuring a first area and a second area, each having subareas corresponding to the respective command processors in said main storage; designating a command processor which executes program correction from among a plurality of command processors; fetching, by a first program, program correction information including at least a correction place and contents of a second program; setting, by said first program, a flag in each of said subareas of said first area other than a subarea corresponding to the designated command processor in accordance with a command from the designated command processor; calling a third program from said second program which is run by one of said plurality of command processors other than the designated processor; causing, by said third program, the respective command processors other than the designated command processor to determine whether flags have been set in subareas of said first area corresponding to the respective command processors other than the designated command processor; clearing, by said third program, the flags, if set, in each of said subareas of said first area corresponding to the respective command processors other than the designated command processor; determining whether the flags have been cleared in the subareas of said first area corresponding to the respective command processors other than the designated command processor; correcting the program to be corrected in accordance with the correction information in said first program when the flags in all of said subareas of said first area other than the subarea for the designated command processor are determined to have been cleared; and setting flags, by said first program, in all of said subareas of said second area other than the subarea corresponding to the designated command processor when the correction to the program to be corrected has been completed.