From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31734 invoked by alias); 2 Mar 2006 16:46:15 -0000 Received: (qmail 31710 invoked by uid 9453); 2 Mar 2006 16:46:15 -0000 Date: Thu, 02 Mar 2006 16:46:00 -0000 Message-ID: <20060302164615.31708.qmail@sourceware.org> From: teigland@sourceware.org To: cluster-cvs@sources.redhat.com Subject: cluster/group/daemon cpg.c Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00293.txt.bz2 List-Id: CVSROOT: /cvs/cluster Module name: cluster Changes by: teigland@sourceware.org 2006-03-02 16:46:15 Modified files: group/daemon : cpg.c Log message: Fix how we dispatch cpg callbacks; dispatch one per poll() event. cpg_dispatch(ALL) breaks things if there's more than one confchg since we need to process each confchg before the next, and a loop around cpg_dispatch(ONE) doesn't work because it will block when there's nothing more to dispatch. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/daemon/cpg.c.diff?cvsroot=cluster&r1=1.12&r2=1.13