[ROOT] how to protect TApplication with mutexes

From: Matevz Tadel (Matevz.Tadel@ijs.si)
Date: Thu Feb 17 2000 - 17:14:08 MET


Hi,
I'm running MyRint : public TRint within a thread. Where is the proper
place to lock/unlock mutex that would prevent my threads from changing
global variables (like gDirectory when adding new histograms).
I tried by redefining TApplication::Start/StopIdleing(), but i'm not
completely sure this is sufficient ... Could someone please elaborate on
the problem ...

Thank you,
matevz

---------------------------------------------------
 Matevz Tadel,         E-mail: Matevz.Tadel@ijs.si 
 Department of Experimental High Energy Physics F9 
 Jozef Stefan Institute,  Jamova 39,  P.o.Box 3000 
 SI-1001 Ljubljana, Slovenia                       
 Tel.: +386-61-177-3674      Fax: +386-61-125-7074 
---------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:19 MET