Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding Timers Part Duex
Message
De
12/08/2004 22:25:34
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00932987
Message ID:
00933000
Vues:
18
That was on faster machines. Just recently our client tested this on slower machines and the first message appears to be processing more than once.

Unfortunately, I'm looking though the logs and only see one request.

>Hi Dan,
>
>According to the log you posted the first message is processed only once. What I'm missing?
>
>>With the following code on a very slow machine I'm still getting execution of the same message twice. The machine is a 233.
>>
>>
>>Add Message to queue
>>Set Timer Interval to 1 millisecond.
>>Enable Timer
>>
>>** Added logging for debugging purposes.
>>** Function Timer
>>Has the Timer been disabled
>>  Return
>>Disable Timer
>>
>>Log "In Timer"
>>
>>Do while there are still messages in the queue
>>  Log "Process the first message"
>>  Process the first message
>>
>>  Log "Are there more messages?"
>>  Are there more messages?
>>    Log "Remove the first message"
>>    Remove the first message
>>
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform