patch for the checkpointing paper

Kamal R. Prasad kamalpr at yahoo.com
Tue Mar 8 06:54:45 PST 2005


Hello,

 The patch (containing 3 diffs and some modified files
because I lost the original) is attached herewith. I
can provide example programs if required.Basically,
the code to checkpoint is written as :-

if (tsetjmp() < 0)
 perror("tsetjmp");
. ..
tlongjmp(1); /* or any retval returned by tsetjmp() */

There are some ancillary functions that help in moving
back and forth between states and/or determine last
signal delivered.
cache() is used to copyin and copyout a block of
memory not exceeding 4 KB. Note that all variables not
cached are lost after a longjmp().

None of this code will be checked into the dragonfly
src tree by me. If someone wants to get this code into
any src tree, pl. feel free to do so -as permitted by
the BSD license.

thanks
-kamal
 

------------------------------------------------------------
Kamal R. Prasad
UNIX systems consultant 
kamalp at xxxxxxx

In theory, there is no difference between theory and practice. In practice, there is:-).
------------------------------------------------------------

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com Attachment:
MYPATCH.TAR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tar00000.tar
Type: application/octet-stream
Size: 122880 bytes
Desc: "Description: MYPATCH.TAR"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20050308/abc7d944/attachment-0018.obj>


More information about the Submit mailing list