Threads in ROOT 2.21

From: Marc Hemberger (hemberg@gsi.de)
Date: Wed Jun 16 1999 - 17:10:38 MEST


Dear rooters,

the GO4 development team of GSI has invested some efforts to obtain a ROOT
version which allows threads. We adapted the ROOT version 2.21, which was
the current release at that time, to integrate the TThread and related
classes. As a result we have a (more or less) usable shared library
containing the thread classes. 

Since we need for our tasks here at GSI very much a threaded ROOT, we
received from Victor Perevoztchikov (thanks a lot for your help !!) the
original sources of his ROOT version 1.03, in which he already implemented
the thread classes. With his older sources we obtained a ROOT version 2.21
allowing limited usage of threads. We have also a demo example showing
two threads filling histograms and drawing their histograms in two
separate pads of a COMMON canvas. But even this simple example has still
some problems remaining.

We would like to make our package now publicly available for testing and
ask the root-team if it is possible to include our changes into future
releases of ROOT. This would enable the people that are interested in
thread applications to test the thread classes without having to repeat
our efforts, now and also in future releases. But be aware, that this
version of ROOT is still by no means what could be called a thread-safe
ROOT.

We are running ROOT under Linux (Debian 2, RedHat 5.2), and did our tests
on these platforms.


Greetings,

Marc Hemberger

----------------------------------------
Dr. Marc Hemberger

Gesellschaft f. Schwerionenforschung mbH
Planckstr. 1
64291 Darmstadt
Tel.: 06159/71-2554
M.Hemberger@gsi.de



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:34 MET