RE: TTimer and proof

From: Fine, Valeri <fine_at_bnl.gov>
Date: Tue, 25 Oct 2005 14:54:03 -0400


Can you add (for X11 and Win32GDK flavor) the

gSystem->DispatchOneEvent()

somewhere within your "event loop".

http://root.cern.ch/root/htmldoc//TSystem.html#TSystem:DispatchOneEvent

to activate the ROOT timers check?

Hope this helps



Best regards
                   Valeri


> -----Original Message-----
> From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On
> Behalf Of Olivier Stezowski
> Sent: Tuesday, October 25, 2005 10:02 AM
> To: roottalk_at_pcroot.cern.ch
> Subject: [ROOT] TTimer and proof
>
>
> Dear all,
>
> Here is a macro with a loop that stops when a maximum number of events
> is reached or when a time limit is reached. The macro runs on a local ROOT
> session (root 5.05/01, RH9) .. however when running it on the PROOF cluster
> it does not work as expected and always stop when the max number of
> events is reached.
> It seems that the timer is not working properly. Is there something wrong ?
>
> Thanks for your help,
>
> Olivier
>
> --
> ==========================================================
> Olivier Stézowski
> Institut de Physique Nucléaire de Lyon
> Universite Claude Bernard - Lyon I
> 43, boulevard du 11 Novembre 1918
> F-69622 Villeurbanne Cedex
> FRANCE
>
> e-mail : stezow_at_ipnl.in2p3.fr
> web : http://agata.in2p3.fr
> ==========================================================
>
Received on Tue Oct 25 2005 - 20:54:15 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:13 MET