Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running a time consuming background process



Mmmm. Process snapshotting. I'm afraid that feature does not exist on Mac OS X, so you'll have to simulate this yourself with manual labor behind the scenes. Sweep all of your program's state into well- known data structures, save those data structures when you get the signal, add logic to the program which detects saved state files and allows itself to resume from them, you're done. It's all "just a simple matter of coding" as we like to say. :-)

- Jordan

On Jan 27, 2008, at 10:56 AM, Tommy Nordgren wrote:

I need to run a custom program that I expect to need several weeks of (wall clock) time to complete.
How can I set up and run so that I can save state on any signal, and having my program automatically resumed
on start up, with as little extra work as possibly when resuming.
My program is a pure batch job, by the way.


----------------------------------
Skinheads are so tired of immigration, that they are going to move to a country that don't accept immigrants!
Tommy Nordgren
email@hidden




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Running a time consuming background process (From: Tommy Nordgren <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.