https://github.com/root-project/root
Revision 824e2040c085c1a921decfad6a735fc334eb568d authored by Fons Rademakers on 18 May 2005, 09:32:42 UTC, committed by Fons Rademakers on 18 May 2005, 09:32:42 UTC
This patch repairs the tutorials treefriend.C.
In particular it solves a problem introduced by the locking mechanism
preventing infinitie recursions in the treatement of the Tree Friend.

The previous implementation was used only one lock for all methods
recursing through the friend (thus 2 unrelated methods were locking
each other out).  The new implementation uses a different lock for
each methods.  This new implementation also solves Thomas Bretz's
issue (http://root.cern.ch/root/roottalk/roottalk05/1020.html).


git-svn-id: http://root.cern.ch/svn/root/branches/v4-04-02-patches@11810 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 114e11c
History
Tip revision: 824e2040c085c1a921decfad6a735fc334eb568d authored by Fons Rademakers on 18 May 2005, 09:32:42 UTC
From Philippe (backport of fix from head):
Tip revision: 824e204

back to top