fix cpmutex_p_lock