Re: Threads in ROOT 2.21

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jun 16 1999 - 18:21:02 MEST


Hi Marc,
It is excellent that you looked into the TThread class.

Why did you start from the version 1.03 and not from the Thread class
in the standard distribution ? The source in 2.21 or 22 was already
adapted
to the current version, but as already announced, not tested.

What is the status of your adaptation?
Did you succeeded to create the Thread dictionary ?
If yes, can you invoke the Thread class from the interpreter ?

We will include your mods in the standard distribution as soon as you
have a working class. Let me know.

Rene Brun

Marc Hemberger wrote:
> 
> 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