Re: [ROOT] TThread: What can be done in a thread?

From: Volker Hejny (V.Hejny@fz-juelich.de)
Date: Mon Oct 29 2001 - 14:19:16 MET


Dear Joern, 

thanks a lot for your advices. With these I got it running. The
most important hint was

On Fri, Oct 26, 2001 at 03:03:19PM +0200, Adamczewski Dr. Joern wrote:
> Do you still use the TMonitor::Select in the hserver.C? 
> I guess this could be crucial, 
> since the method invokes the gSystem->InnerLoop(), which can not
> be expected to work in several threads!

Without TMonitor the program runs fine, with the Select() mechanism
it stops immediatelly.

However, using TMonitor::Select() would be really fine. Marc Hemberger
wrote in his mail, that in his opinion this should work. Marc, how sure
you about that?

Greetings,
Volker

-- 
Dr. Volker Hejny                Tel: 02461/616853                      ** 
Institut f. Kernphysik          Fax: 02461/613930                     **
---------------------------------------------------------------- **  ** ---  
Forschungszentrum Juelich GmbH, D-52425 Juelich                    **



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