Re: [ROOT] Strange TTimer behavior under win98

From: Valeri Fine (fine@bnl.gov)
Date: Wed Aug 15 2001 - 00:00:22 MEST


> Valery,
> 
> the funny thing is that I am running Timer within _compiled_ library! There
> should be no CINT calls at all (apart from root itslef which might call CINT to
> process Notify.... but this sux)

I doesn't matter whether your code is compiled or not. ROOT from inside may 
use and it does use something like gROOT->ProcessLine("CINT commnad").
This way one doesn't see one piece of code depends on another one since formally
 the code calls TROOT::ProcessLine method only.

To watch what is going on in you may set "trace" option with ".T" CINT command.

In addition under Windows calling gROOT->ProcessLine is used to switch ROOT to 
the proper thread if the calling class is not thread safe. ProcessLine detects the calling 
thread ID and sends the message to the "CINT" thread if it is needed. (This is the reason
for your TTimer troubles)

  Hope this helps.
                       Valeri
> 
> Regards,
> Anton
> 
> 
> 
> 



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:57 MET