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. > The Root source file includes support for PThreads in Unix. This was implemented by Victor Perevovchikov about one year ago, but never released, because Victor's implementation was based on an older version of Root. We are planning to reactivate this option in the coming releases. This implies a compilation of Root with a special option to take into account the locking mechanisms. The TThread and TMutex classes are already implemented. The main change to be done is in the class TCanvas that requires some additional work following the introduction of the new GUI. We have a demo example showing two threads filling histograms and drawing their histograms in two separate pads of a COMMON canvas. CINT itself is not multiThreaded. May be Masa will add some comments on his plans. Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:39 MET