Re: some questions about the API of the blcr

From: Eric Roman (ESRoman_at_berkeley_dot_edu)
Date: Mon May 04 2009 - 15:03:51 PDT

  • Next message: Sabha Irestone: "Thee Missing Piece to Extraordinary Orgasms - Cunnilingus"
    Dear Weizhongwei,
    
    Please look at the function checkpoint_self() in examples/pthread_misc.c 
    
    That will show you how to use the API.
    
    Eric
    
    On Mon, May 04, 2009 at 12:24:47PM +0800, Weizhongwei wrote:
    >     Dear Professor:
    >       Firstly ,thank you very much for spending your valuable time in reaing my letter.
    > 
    >     Now I encouter another question when I use blcr to checkpoint my java programm.
    > 
    >     I describe my question as following:
    > 
    >     public class Test{
    > 
    >         public static void main(String argv[]){
    > 
    >             System.out.println("Test begins runnin...");
    > 
    >             System.out.println("Checkpoint here...");
    > 
    >             //I want to know how to make a checkpoit here
    > 
    >            //for this programm itself.  I want to know if there is some API functions to be called,and can
    > 
    >            //you give me an example .Thank you very much!!
    > 
    >            //I have tested my C programm by
    > 
    >            //int pid = getpid();
    > 
    >            //exec("cr_checkpoint pid");
    > 
    >            //but I don't want to checkpoing programm itself by calling cr_checkpoing command.
    > 
    >         }
    > 
    >     }
    > 
    > 
    >                         yours sinsere student wzw!
    > 
    >     expecting your answers !
    > 
    >      
    > 
    >      
    > 
    > 
    > 
    > ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    > 好玩贺卡等你发,邮箱贺卡全新上线!
    

  • Next message: Sabha Irestone: "Thee Missing Piece to Extraordinary Orgasms - Cunnilingus"