gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] gnash ChangeLog server/character.h server/dlist...


From: strk
Subject: Re: [Gnash-commit] gnash ChangeLog server/character.h server/dlist...
Date: Fri, 10 Aug 2007 06:25:34 +0200

On Thu, Aug 09, 2007 at 12:18:08PM +0000, Zou Lunkai wrote:

> Index: server/parser/Timeline.h
> ===================================================================
> RCS file: /sources/gnash/gnash/server/parser/Timeline.h,v
> retrieving revision 1.5
> retrieving revision 1.6
> diff -u -b -r1.5 -r1.6
> --- server/parser/Timeline.h  1 Jul 2007 10:54:33 -0000       1.5
> +++ server/parser/Timeline.h  9 Aug 2007 12:18:06 -0000       1.6
> @@ -94,7 +94,7 @@
>       ///
>       void closeFrame()
>       {
> -             boost::mutex::scoped_lock lock(_frameDepthsMutex);
> +             //boost::mutex::scoped_lock lock(_frameDepthsMutex);

Isn't Timeline set by parser thread and used by playback thread anymore ?
That's why the mutex was there... (something which is hard to test with
a testcase, being time-based pending bug)

(I belive getFrameDeptsh() should also lock, didn't notice if you 
changed that or was already bogus).

The methods description tell which methods should lock and which not.

--strk;




reply via email to

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