Phil rejected my first patch for various little reasons. I did the
corrections and here is a rewritten patch that adds ckpt support. Do not
forget to grab ckpt sources. Phil is gone for weekend because of Pycon.
I guess the patch should be mainstream in a few days, when he comes back.
By the way, I added support for rotating snapshots... so if a snapshot
crashes, you can get back to the previous one... this avoids a crash
that would delete your only image file. This way, it is more reliable.
It seems that file handlers are saved/restored correctly. However,
sockets don't (we knew that). Something weird occurs when using the IRC
client; the checkpoint requires SIGALRM, which kills the select
statement from the IRC client... if someone can see if this is fixable
using masks, that would be nice. The other thing is that python
applications can use the alarm function... and therefore could break the
checkpoint loop. On the other side, I might switch the whole thing to
TIMER_PROF, the same signal I used to hook for GNU Pth (which I haven't
commited any patch yet).
Jacques Mony
Le 18/3/2005, "jmony@xxxxxxxxx" <jmony@xxxxxxxxx> a écrit:
>Fri Mar 18 14:10:44 EST 2005 jmony@xxxxxxxxx
> * Adding ckpt library support (Checkpoint)
>
>
|