• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Running a time consuming background process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running a time consuming background process


  • Subject: Re: Running a time consuming background process
  • From: "Jordan K. Hubbard" <email@hidden>
  • Date: Sun, 27 Jan 2008 12:01:35 -0800

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:
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: This email sent to email@hidden
References: 
 >Running a time consuming background process (From: Tommy Nordgren <email@hidden>)

  • Prev by Date: Re: [Fwd: Re: execv bug???]
  • Next by Date: Re: Running a time consuming background process
  • Previous by thread: Running a time consuming background process
  • Next by thread: Re: Running a time consuming background process
  • Index(es):
    • Date
    • Thread