Re: TThread

From: Onuchin Valeriy (onuchin@sirius.ihep.su)
Date: Thu Oct 21 1999 - 13:02:13 MEST


KOSU_FOKIN@garbo.lucas.lu.se wrote:
> 
> Hello!
> 
> After all these changes and work around performed by GSI groop ... Do we
> have any chance to get ROOT graphical objects working in multithread env.?
> This is the most important to handle because it is not much use of ROOT's
> TThread if you can't put your Canvas update in a thread.
> 
> Best regards,
> Anton

 Hi Anton,
one of the alternative to multiheading is using of
QTTimer class. Look how it is done at 
http://emcal06.rhic.bnl.gov/~onuchin/Rt/examples.html

hsimplem.C example.

 One of the advantage of this approach is possibility
to set "dynamic priority" to thread by dynamic changing 
of the  timer interval.

 Best regards.			Valeriy



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