"Peter Brooks" <Peter.H.M.Brooks@[EMAIL PROTECTED]
> wrote in message
news:1182026035.043466.225690@[EMAIL PROTECTED]
>I imagine that this is probably platform dependent. What I'd like to
> do, though, is to run a program and save its state, so that, when it
> is run again, it starts where it left off, even if the machine has
> been re-booted between times.
>
If you can narrow down the scope of your question then there may be a
feasible answer. For example:
How much of the program's 'state' do you *need* (not necessarily *want*)
to
save?
Do you have one particular application in mind or are you looking for a
general solution?
What real-world situations are you attempting to accommodate?
Are the reboots manually instigated or can they be as a result of a power
cut or other unexpected failure?
Your question did remind me of a development system I used in the 1980's
that had an ingenious way of providing protection against tem****ary power
outages without requiring a full backup power system. It was a multiuser
NCR
Tower running Unix. A rechargeable battery was used to maintain the total
system state (memory contents, CPU registers, PC address etc.) in
suspended
animation so that when full power was restored all users were able to
continue exactly where they left off as if nothing had happened.
--
Chris Burrows
CFB Software
http://www.cfbsoftware.com/gpcp


|