Hi Lukasz, events are only processed when you return from your user code. It is not done in a separate thread that might be called while being in a critical section or in some other part of the user code. Cheers, Fons. On Thu, 2003-12-04 at 12:39, Lukasz Slusarczyk wrote: > Hi > > I saw that there is gSystem->ProcessEvents() method and it processes all > pending events. I'm looking for sth similar to this. I'd like to disable > all events for a while (before critical section, secured by mutexes) and > process them after this period. Sth like that: > > gSystem->SomeFunctionThatStopsEventProcessing(); > ... > gSystem->ProcessEvents(); > > is there any way to do it? -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://www.rademakers.org/fons/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET