Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Misc > Re: Saving prog...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 9 Topic 746 of 811
Post > Topic >>

Re: Saving program state in executable

by "Chris Burrows" <cfbsoftware@[EMAIL PROTECTED] > Jun 17, 2007 at 11:47 AM

"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
 




 9 Posts in Topic:
Saving program state in executable
Peter Brooks <Peter.H.  2007-06-16 20:33:55 
Re: Saving program state in executable
CBFalconer <cbfalconer  2007-06-16 20:18:03 
Re: Saving program state in executable
"Chris Burrows"  2007-06-17 11:47:18 
Re: Saving program state in executable
Peter Brooks <Peter.H.  2007-06-16 20:37:14 
Re: Saving program state in executable
Marco van de Voort <ma  2007-06-17 16:56:37 
Re: Saving program state in executable
Peter Brooks <Peter.H.  2007-06-16 20:58:03 
Re: Saving program state in executable
Marco van de Voort <ma  2007-06-17 10:57:22 
Re: Saving program state in executable
CBFalconer <cbfalconer  2007-06-17 09:37:47 
Re: Saving program state in executable
Marco van de Voort <ma  2007-06-17 16:57:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 18:47:04 CDT 2008.