[Linux-ha-dev] [PATCH] Use elapsed in G_main_setall_id()
Andrew Beekhof
beekhof at gmail.com
Wed May 30 06:23:00 MDT 2007
On 5/30/07, Horms <horms at verge.net.au> wrote:
> On Wed, May 30, 2007 at 06:31:46PM +0900, Horms wrote:
> > [ Once again, this time to the list ! ]
> >
> > As pointed out to me by my colleague Matsuda-san,
> > it seems that G_main_setall_id() really ought to
> > pass its elapsed parameter on to G_main_setmaxdispatchtime_id().
> >
> > The line in question was last moified by the following changset,
> > which creates the G_main_setall_id() setup function and
> > seems to also create this slight problem.
>
> Ok, this is not my day. The changeset is 4896848a8d42
>
> http://hg.beekhof.net/lha/crm-dev/rev/4896848a8d42
based on the code that G_main_setall_id is replacing, your fix looks
correct to me
>
> > Cc: Daiki Matsuda <d.matuda at gmail.com>
> > Cc: Andrew Beekhof <beekhof at gmail.com>
> > Signed-off-by: Simon Horman <horms at verge.net.au>
> >
> > diff -r 63a0f1fab2a7 lib/clplumbing/GSource.c
> > --- a/lib/clplumbing/GSource.c Wed May 30 00:49:08 2007 +0200
> > +++ b/lib/clplumbing/GSource.c Wed May 30 18:14:59 2007 +0900
> > @@ -1599,7 +1599,7 @@ G_main_setall_id(guint id, const char *
> > {
> > G_main_setdescription_id(id, description);
> > G_main_setmaxdispatchdelay_id(id, delay);
> > - G_main_setmaxdispatchtime_id(id, delay);
> > + G_main_setmaxdispatchtime_id(id, elapsed);
> > }
> >
> > static void TempProcessRegistered(ProcTrack* p);
> > _______________________________________________________
> > Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > Home Page: http://linux-ha.org/
>
> --
> Horms
> H: http://www.vergenet.net/~horms/
> W: http://www.valinux.co.jp/en/
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>
More information about the Linux-HA-Dev
mailing list