W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2000

Re: Bug in HTTimer.c

From: <jose.kahan@w3.org>
Date: Thu, 27 Jul 2000 11:35:11 +0200 (MET DST)
Message-Id: <200007270935.LAA12325@tuvalu.inrialpes.fr>
To: Jens Meggers <jens@meggers.com>
CC: www-lib@w3.org
Hello Jens,

Good analysis. I don't understand one thing in your patch. Is the #ifdef
related to the else block or is it done systematically, regardless of whether
the timer is repetitive:

In our previous episode, Jens Meggers said:
> 
> >    if (timer->repetitive)
> > HTTimer_new(timer, timer->cbf, timer->param, timer->millis, YES, YES);
> >    else
> > HTList_quickRemoveElement(cur, last);
> #ifdef WWW_WIN_ASYNC
>  // on windows we have to stop the timer 
>  DeletePlatformTimer(timer);
> #endif

Or should it be:

> >    if (timer->repetitive)
> > HTTimer_new(timer, timer->cbf, timer->param, timer->millis, YES, YES);
   else {
> > HTList_quickRemoveElement(cur, last);
> #ifdef WWW_WIN_ASYNC
>  // on windows we have to stop the timer
>  DeletePlatformTimer(timer);
> #endif
  }

As soon as I get your answer, I'll try your patch with Amaya and if it works
OK, I'll commit it.

Thanks,

-Jose
Received on Thursday, 27 July 2000 05:35:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:37 GMT