From: ÀîºêÁÁ (lihongliang070_at_tom.com)
Date: Mon Jun 15 2009 - 18:58:19 PDT
Hello, Professor: Thank you very much for the previous answer. It's my fault about the way of expressing. Last time I really want to know: I want to know how phase1 tasks are added to the task list. becase when we issue the command "checkpoint -p", which means the "target_type == CR_SCOPE_PROC". so invoke "build_req_proc(pid_t target)" to add all threads belongs to this process to the task list. but the phase1 task, or we call it "callback thread" is not created until we execute "cri_register_thread()", so the "callback thread" is not belonged to the target process,then not added through invoking build_req_proc(), so how it is added to the task list? By the way, the paper "BLCR's design & implementation" say that "thread context callback " is a better way to implement BLCR's callback mechanism. So is it enough for BLCR if we use only thread context callback?