Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug on timer, but not deterministic
Message
De
23/10/2003 09:49:01
 
 
À
22/10/2003 06:44:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00840948
Message ID:
00841545
Vues:
18
Hi VFPT,

i have found a possible explanation.
*****************           *************
***  process  ***           *** timer ***
*****************           *************
timer.Enabled=.F.             Start Count
Start Atomic process
------------                  Count=Count+1 -> 1  Timer not fire
------------
------------                  Count=Count+1 -> 2  Timer not fire
------------
timer.Enabled=.F.             Stop Count
------------
Stop Atomic process
                              Fire Timer   Count=1
                              Fire Timer   Count=0 -> stop events
This have a logical bahaviour.
The Bug is on Reset.
*****************           *************
***  process  ***           *** timer ***
*****************           *************
timer.Enabled=.F.             Start Count
Start Atomic process
------------                  Count=Count+1 -> 1  Timer not fire
------------
------------                  Count=Count+1 -> 2  Timer not fire
------------
timer.Enabled=.F.             Stop Count
timer.Reset                   Count=0
------------
Stop Atomic process
                              never Timer event fired
Fabio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform