Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can VFP multi Thread??
Message
De
28/04/1999 22:35:32
 
 
À
28/04/1999 19:34:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00213246
Message ID:
00213273
Vues:
35
>What I need to know is will each call to the Fn run separately if input comes in from both com ports simultaneously?? Or will the secondary function get mixed up as to which variable value to use??
>

Nope... a VFP program only has ONE thread... so, whichever port's data is noticed first will be processed, then your polling routine will see data in the ther port and deal with that.

The COM ports data should be cached... so, you shouldn't loose data from com1 if you are processing data from com2.

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform