gSystem->InnerLoop() ;

From: Wouter Hulsbergen (s37@nikhef.nl)
Date: Fri Aug 28 1998 - 14:07:41 MEST


Dear all,
I am trying to understand a bit more of the TMonitor class. Can anybody
tell me why the following stops as soon as it reaches
gSystem->InnerLoop() ?

int main(int argc, char** argv)
{
  static TROOT theROOT("OTHRoot","OTHRoot",initfuncs) ;
  TApplication* theApp = new TApplication("Applic",&argc,argv) ;

  for(int i=0; i<100000; i++)
    {
      cout << i << endl;
      gSystem->InnerLoop() ;
    }
  return(0);
};

The loop over gSystem->InnerLoop() is exactly what appears in
TMonitor::Select(). What did I forget ?

Regards, thanks,
Wouter



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