摘要 |
PROBLEM TO BE SOLVED: To provide a nonstop program system that runs nonstop to execute programs, and its method of avoiding memory fragmentation. SOLUTION: The nonstop program system 10 includes a plurality of program sides 30, 32 having respective programs 34, 38 being independent of each other and having the same content as each other and respective variable areas 36, 40. When the operational state of a 0 side 30 is set to an ACT state, while using the 0 side 30 as an active side for executing a program, the operational state of a 1 side 32 is set to a HOT_SBY state, and a variable area 40 of the 1 side 32 is synchronized with the memory content of the variable area 36 of the active side 30. When the active side is switched, the operational state of the 1 side 32 in the HOT_SBY state is switched to the ACT state to cause the 1 side 32 as the active side to execute the program, whereby it is possible to quickly and smoothly switch the active side. COPYRIGHT: (C)2009,JPO&INPIT
|