Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Apartment Model Threading
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00252574
Message ID:
00253562
Vues:
20
>Hi All:
>
>This is my understanding of VFP multithreading. Comments are appreciated.
>
>VFP handles multiple threads of operation by creating an apartment containing all the objects created on that thread. It cannot process multiple threads simultaneously, instead, it switches from thread to thread in a time sliced fashion. This gives the illusion of mutlithreading.
>
>To realize the performance gains of multi-threading you need a multiprocessor machine.
>
>
>Charlie

Charlie,

Any CPU can handle only one task at a time and must use time slicing to handle multiple tasks. IOW, it's not a VFP limitation, it's a CPU limitation. I have no first-hand experience with multiple processors, but have heard horror stories from those who have.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform