|
I need help on something that I am not sure there is an easy solution. Let me first explain my problem:
I have a system that I am working on where there is a main process which uses a third party application to start other applications (child processes). There is a recovery mechanism in which the application will be restarted if it is deemed necessary. The child process does not get reloaded into memory when it restarts so it resides in the same memory. The people who worked on this before me decided it unnecessary to preset any global variables/arrays/pointers. What I have found is that when we restart the application (after a recovery), global memory still contains any old data from before. I am trying to avoid major changes to the program. I guess I am looking for a bit of a miracle.
Is there an "easy" way to preset all global data on initialization AFTER the program has been loaded into memory? This is on a concurrent machine.
Any help is greatly appreciated.
|
|
|
|
|
|
|
// |