Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Tally and timers
Message
De
13/03/2006 12:58:44
 
 
À
13/03/2006 10:44:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01102133
Message ID:
01103858
Vues:
15
>With Autoyield = .F. the Timer code never executes (either in the main loop or in the subseqent wait state) regardless of the inclusion of DOEVENTS - the interrupt is effectively discarded.
>
>With Autoyield = .T. and DOEVENTS included the timer code executes in the main loop as expected. But with no DOEVENTS the timer event is queued and only executes in the wait state - the .Counter will initially be 0, hitting OK at intervals will show the previously queued events being consumed.
>
>So the grey area is 'Can the timer code EVER execute with AUTOYIELD = .T. unless there's a wait state' ? My hunch would be 'No' but I wouldn't bet the ranch on it. OTOH, I'd be interested to see someone positively demonstrate the opposite :-}
>It would also be interesting to see how many interrupts would be queued!
>
>Regards,
>Viv

hi Viv,

See Storin's answer message#1103809 which makes sense if you read through the docs

I can only say that I've seen it happen. On rare occasions, I agree, but it happened

The only thing we're missing is the definition of a wait state.

Think we need clarification from someone from Microsoft on this one

Can it or can't it ?
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform