Re: X11 and Threads...

From: Ilka Antcheva <Ilka.Antcheva_at_cern.ch>
Date: Thu, 21 Dec 2006 17:54:32 +0100


Hi Daniel,

The only code behind selecting Option menu/ Interrupt is "gROOT->SetInterrupt();". In my knowledge, this interrupt is recognized later by TSystem::ProcessEvents() method.

Cheers, Ilka

daniel cussol wrote:
> Hello everybody,
> I am trying to build a multi-thread application in which I need to
> refresh canvases. Unfortunately, this leads usually to a complete
> freezing of my application. It seems as it is mentioned in the
> documentation that there still are some problems with W11 and threads.
> I have nevertheless noticed that when I select the "interrupt" item in
> the "Option" menu of the TCanvas before refreshing it, all seemed to
> be Ok. My question is then: what sequence of commans and/or code is
> activated when one select the "interrupt" item in the "Option" menu of
> the TCanvas? I was not clever enough to obtain this information from
> the source code.
> I run ROOT v5.12.00 on MacOs X.3.9 and on SL4.
>
> Thanks for your help.
>
Received on Thu Dec 21 2006 - 17:57:16 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:02 MET