while(hb_cluster->llc_ops->msgready(hb_cluster)) {
while(lpc == 0 && hb_cluster->llc_ops->msgready(hb_cluster)) {
crmd_ha_msg_dispatch(IPC_Channel *channel, gpointer user_data){	int lpc = 0;	ll_cluster_t *hb_cluster = (ll_cluster_t*)user_data;	while(hb_cluster->llc_ops->msgready(hb_cluster)) {		if(channel->ch_status != IPC_CONNECT) {			/* there really is no point continuing */			break;		} 		lpc++; 		/* invoke the callbacks but dont block */		hb_cluster->llc_ops->rcvmsg(hb_cluster, 0);	}	crm_devel("%d HA messages dispatched", lpc);	s_crmd_fsa(C_HA_MESSAGE);	if (channel && (channel->ch_status != IPC_CONNECT)) {		crm_crit("Lost connection to heartbeat service.");		return FALSE;	}    	return TRUE;}