Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug on timer, but not deterministic
Message
From
23/10/2003 09:49:01
 
 
To
22/10/2003 06:44:13
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00840948
Message ID:
00841545
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform