4 #define USE_CHECKPOINTING 1
5 /* Size of signal stack */
6 #define SIGSTACKSIZE 16384
9 typedef unsigned int snapshot_id;
10 typedef void (*MyFuncPtr)();
11 void initSnapShotLibrary(unsigned int numbackingpages, unsigned int numsnapshots, unsigned int nummemoryregions, unsigned int numheappages, MyFuncPtr entryPoint);
13 void addMemoryRegionToSnapShot( void * ptr, unsigned int numPages );
15 snapshot_id takeSnapshot( );
17 void rollBack( snapshot_id theSnapShot );
24 void createSharedLibrary();
26 }; /* end of extern "C" */