Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timers: Do they take a lot of resources?
Message
De
27/09/1999 20:41:17
 
 
À
27/09/1999 14:18:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00269294
Message ID:
00269726
Vues:
20
>They take comparatively little as far as ongoing resource utilization, especially when compared to the alternative, polling. There's a Class somewhere in the Files Section that provides an API-based timer class, which uses the Win32 API to implement similar functionality; while I suspect that the native Timer also uses the API to implement the function, I can't swear by it.


I've been assuming that a Timer sets some kind of interrupt that fires after the elapsed interval. Therefore no processor usage until the interrupt fires. Can anyone verify this?

Peter Robinson
Peter Robinson ** Rodes Design ** Virginia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform