gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash ChangeLog server/movie_root.cpp testsuite...


From: strk
Subject: Re: [Gnash-commit] gnash ChangeLog server/movie_root.cpp testsuite...
Date: Tue, 25 Dec 2007 11:44:06 +0100

On Tue, Dec 25, 2007 at 04:55:58PM +0800, zou lunkai wrote:
> On Dec 25, 2007 4:48 PM, strk <address@hidden> wrote:
> > On Tue, Dec 25, 2007 at 07:47:10AM +0000, Zou Lunkai wrote:
> >
> > > +    if( ! _intervalTimers.empty() )
> > > +     {
> > > +             // process actions queued when executing interval callbacks
> > > +             processActionQueue();
> > > +     }
> > > +
> > >  }
> >
> > The above doesn't seem correct.
> > The fact that _intervalTimers is not empty doesn't mean any was
> > actually expired...
> > Better have executeTimers return a value to notify whether or not
> > any was expired.
> >
> 
> Logicallly, this check is not even needed.  It is just for optimizing.
>  ie. if there is no interval callbacks, no actions would be queued,
> thus we don't need to process any actions within
> 'movie_root::executeTimers()' function body.

Yeah, I've just read the diff, not the code. Is fine then.

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]