Re: Is ROOT thread-safe?

From: Jarek Grebieszkow (Jarek.Grebieszkow@cern.ch)
Date: Fri Nov 13 1998 - 20:45:10 MET


Hi Walid,
I don't think so that it is good idea to use ROOT in current
version with pthreads. One think is ROOT itself and second one
is X11 and graphics. If you have X11 libraries linked with
pthread locking then half of work is done if not than forget it.
As far as I know there is no any locking mechanism in ROOT at
least in unix version and you take care of locking ROOT by
global lock maybe you will get the chance to get it working
correctly but I would better wait for unix thread-safe
ROOT with pthreads support (in fact I've seen in root.cmz
file some thread and mutex classed which could be compiled
in by selecting them).

					Regards,
					Jarek 


On Fri, 13 Nov 1998, Walid A. Majid wrote:

> I was wondering whether ROOT is thread-safe (PThreads in UNIX
> environment).  And if there are any gotchas using ROOT as a server in a
> multi-threaded environment.
> 
> Thanks.
> 
> Walid
> 



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