ccs_lock_type
cc_int32 ccs_lock_type (ccs_lock_t in_lock,
err = ccs_lock_type (pending_lock, &type);
err = ccs_lock_type (lock, &lock_type);