Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding Timers Part Duex
Message
De
24/08/2004 19:42:27
 
 
À
20/08/2004 12:20:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00932987
Message ID:
00936175
Vues:
27
Thanks for the suggestion.

The code seems to be working properly now that I'm not using bind events.

>
>I'm actually doing away with the bind events and it works on the slow machine as well.
>

>
>This show a bug into VFP8.
>
>When the execution is into the Timer event, other Timer's events are not processed;
>but this is not true for a Bind event linked to the Timer event.
>
>The solution is that of implement a mutex into VFP:
>
>
>
>PROCEDURE delegateTimer
>IF TestAndSetMyMutex
>   .... execute the code
>ENDIF
>
>
>Implement a native VFP mutex is not immediate ( a way is to use a two bits number );
>with Windows API mutex you can found another solution ( more slow ).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform