Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why does VFP have a MTDLL?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00980541
Message ID:
00981321
Vues:
41
No, they run at the same time. You can run the C++ demo MTDEMO that Calvin did(in the article I mentioned)to execute several commands simultaneously with different thread numbers. Rick Strahl also has the same test from an ASP page in one of his white papers (but somehow this is still simulated mt <g>). Or go to my web page and see vfp multi-threaded from asp.net: http://www.activevfp.com/avfpdemo2/default.aspx ...
>Hi Claude,
>
>>The only possible reason they can perform well is that they are running multiple threads at the same time(isn't this the definition of multi-threading?). Read this article by Calvin Hsia and see how many times he refers to VFP mtdlls as multi-threading: http://www.calvinhsia.com/papers/AdvancedVFPServers.mht
>>There's also a whole library about the same form of multi-threading in VB6. And everywhere it is referred to as multi-threading. Why - because it is multi-threading. What is your definition of MT??
>>I'm not really sure why this is so hard to swallow for some people...
>
>Correct me if I am wrong but is the VFP MTDLL limited to running 1 command at a time? Which means that if you have a 10 seconds SQL Select command. During the time that this command is running, all other threads are idle.
>So the best practise for MTDLL was to make sure that each command takes as less as possible time. (Instead of a SQL Select, use SCAN....ENDSCAN)
>
>Regards,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform