Problem with timers



Hi Folks
(B
(BI have some problems with using using timers.  I set up the following
(Btwo timers
(B
(B
(B timer1 = gtk_timeout_add (PERIODIC_TIME_INTERVAL_LIGHTS,
(B                            (GtkFunction) PeriodicLightHandler,
(B                            (gpointer) gpEventBoxDataStore);
(B  timer2 = gtk_timeout_add (PERIODIC_TIME_INTERVAL_BUTTONS,
(B                            (GtkFunction) PeriodicButtonHandler,
(B                            (gpointer) gpButtonDataStore);
(B
(Busing the values of
(BPERIODIC_TIME_INTERVAL_LIGHTS=PERIODIC_TIME_INTERVAL_BUTTON=any number
(Bwhich is the same
(B
(Band it they do not seem to work, when I set the values of
(B
(BPERIODIC_TIME_INTERVAL_BUTTON
(Band
(BPERIODIC_TIME_INTERVAL_LIGHTS
(B
(Bwith a difference between them of about 200 or more the timers work. 
(BCan someone
(Bplease tell me whats going on.
(B
(BCheers
(BAntony


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]