Re: [ROOT] gSystem->ProcessEvents() and Threads

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed May 30 2001 - 15:59:28 MEST


gSystem->ProcessEvent is not thread safe at the moment. We still need to
put a mutex around it, which I had already planned to do a long time ago
but never came round doing.

-- Fons


Thomas Bretz wrote:
> 
> Hi Rooters,
> 
> does somebody have experience with the thread-safty of the function
> metioned above?
> 
> I have the following problem:
> I have a thread which is updating a text (TGLabel) as often as possible.
> If I move the window around the desktop after some movements the gui
> control are stooping to respond. (The TGLabel is still updated, but no
> messages are send to ProcessMessgage of the TGMainFrame any more.
> 
> (Or could the reason be, that I update the contents of the TGLabel more
> often than it can be displayed?)
> 
> Thanks for your help,
> Thomas.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



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