Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug on timer, but not deterministic
Message
From
24/10/2003 06:56:56
 
 
To
23/10/2003 05:38:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00840948
Message ID:
00841998
Views:
15
Hi Fabio,

I tested your code with the callback fll using timeSetEvent() and intervals ranging from 10 to 1000 ms
The vfpcode was interrupted (during update and replace)

Behaviour

the shorter the interval the more frequent the errors like
- function giro(): error : No parameters statement found
- during the update : data type mismatch (I suspect the return from giro() was misinterpreted)

After an error either an immediate crash or vfp had become instable and crashed afterwards

Conclusion of the tests (choose either one)

There must be a good reason why vfp saves the events and gives a burst afterwards.
The callback fll has bugs

I suspect vfp turns off timer events during critical operations (eg update). After that the number of missed events is calculated and caught up (the burst)
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform