Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multithreading?
Message
 
À
08/10/2003 12:49:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00836137
Message ID:
00836360
Vues:
16
The basic fact is that, with .vfp. mtdlls, you can have multiple threads of .vfp operating concurrently without serialization, so no threads are waiting around for another one to process. This is what most people are looking for with multi-threading in VFP (but, would like to do it in the .EXE itself). VFP mtdlls multi-thread great from a multi-threaded client like IIS or C++.
Yes, with the newer "Free-threading" available in C++/C#, there are less limitations to threading but also much more danger and probably over-kill for .vfp. apps...
>Nope. MTDLLs are apartment threaded. Not multithreaded. There is a difference. IMO, it was a mistake for the Fox team to call them Multithreaded.
>
>Using the WinAPI is, IMO, resort to tricks. You may be able to get it to work, but there are some hoops you have to jump through and it may not be stable.
>
>>Yes VFP supports multithreading with .vfp. mutlithreaded dlls (mtdlls). Of course, you have to have a multithreaded client (like IIS) to take advantage of it. You could probably also look at the Win API CreateProcess and use it in this way. Finally, there is a tool someplace that claims to allow regular VFP to multithread...
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform