Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sleep(1) too slow
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00916333
Message ID:
00916740
Vues:
7
Nick,

You have to be careful when using timers, if the VFP timer is implemented using Win32 then that timer is not guaranteed to fire on the intervals you define, in fact several WM_TIMER messages can be combined into one before they hit your threads input queue.

This of course depends on VFP's implementation of the native Timer control, it could be that they handle all this in a fashion more typical of a high resolution timer? Just a heads up.

Regards
Neil
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform