#107 use frwlock as checkpoint_safe_lock
Merge commit '439465dd42dad8e6a5235653d303875809cce4da' into free145m