Re: Is ROOT thread-safe?

From: Victor Perevoztchikov (perev@bnl.gov)
Date: Sat Nov 14 1998 - 23:19:54 MET


Fons Rademakers wrote:
> build of the ROOT libraries. Some other parts are not threadsafe
> (like CINT, X11) and will require global locks. ROOT comes also with

I want to add that on some platforms ( like linux, SGI ) there is
a threadsafe X11. The current TTHREAD implementation supposed
that X11 is not thread safe. This means that if some thread creates
Canvas
or simple do printf statement the request to the main thread is send to
do the job

Due to CINT is not thread safe only the main thread can use CINT,
the other threads should be precompiled. 

> 
> The Win32 version of ROOT runs always in multi-threaded mode. There
> are three threads: user input, command processor (CINT), graphics.
> That part has been developed by Valery Fine.

But there is no yet option for user defined threads.

Cheers Victor

-- 
Victor M. Perevoztchikov   perev@bnl.gov  perev@vxcern.cern.ch       
Brookhaven National Laboratory MS 510A PO Box 5000 Upton NY 11973-5000
tel office : 516-344-7894; fax 516-344-4206; home 516-345-2690



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