Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug on timer, but not deterministic
Message
De
24/10/2003 06:56:56
 
 
À
23/10/2003 05:38:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00840948
Message ID:
00841998
Vues:
16
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform