From: Neal Becker (ndbecker2_at_gmail.com)
Date: Tue Oct 11 2005 - 11:56:37 PDT
On Tuesday 11 October 2005 2:52 pm, jcduell_at_lbl_dot_gov wrote: > On Tue, Oct 11, 2005 at 02:40:39PM -0400, Neal Becker wrote: > > I'm interested in periodically checkpointing my executable. While it's > > not difficult to do this from the shell using e.g., cron, I wonder if > > blcr-devel has a programmatic interface I could use? Maybe I could write > > a little python wrapper for it. > > Yes, for the moment, you'd need to use cron or write your own wrapper, > etc. It's too hard to write something like this in a way that will > please everyone (so everyone gets to write it themselves ;) Yes, I'm happy to write a wrapper - I'm just asking if there is any doc on the API. I guess I can follow the example of the cr_checkpoint source. Another question, is it OK for a process to checkpoint itself? What happens when it restarts? Does it pick up just before the checkpoint call (and re-checkpoint)?