gSystem->InnerLoop() ;

Wouter Hulsbergen (s37@nikhef.nl)
Fri, 28 Aug 1998 14:07:41 +0200 (MET DST)


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