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
Raw File
LICENSE
ROOT Software Terms and Conditions

The authors hereby grant permission to use, copy, and distribute this
software and its documentation for any purpose, provided that existing
copyright notices are retained in all copies and that this notice is
included verbatim in any distributions. Additionally, the authors grant
permission to modify this software and its documentation for any purpose,
provided that such modifications are not distributed without the explicit
consent of the authors and that existing copyright notices are retained in
all copies. Users of the software are asked to feed back problems, benefits,
and/or suggestions about the software to the ROOT Development Team
(rootdev@root.cern.ch). Support for this software - fixing of bugs,
incorporation of new features - is done on a best effort basis. All bug
fixes and enhancements will be made available under the same terms and
conditions as the original software.


IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF,
EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS
PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO
OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
MODIFICATIONS.
back to top