Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why does VFP have a MTDLL?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00980541
Message ID:
00981310
Views:
43
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,
Frank Camp
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform