Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why Processing Performance is Not Increasing ?
Message
De
15/02/2014 06:29:43
 
 
À
15/02/2014 06:26:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01594373
Message ID:
01594385
Vues:
47
>Sir, Thank you very Much. I will try both the things tonight and will also try to GUITHREAD and will respond you.
>
>Thank You
>Regards.
>Harsh


One thing that makes GUITHREAD different, is that it actually launches separate processes for each thread. In that way you will not need multiple ps2pdf.dll copies, but rather each .exe that is launched will attach to its own logical copy of the single ps2pdf.dll file.

Having separate processes can make a big difference in parallel performance, and even ease of programming. GUITHREAD basically provides the "glue" necessary to coordinate message systems between the multiple threads. You basically send it numbers, and those numbers equate to commands, and based on those commands you can do anything. Sending it a particular command, and then another number, might instruct a particular thread to open table foo###.dbf and read the instructions from there, a fully customizable solution using whatever makes sense for your app, and so on.

But, Visual FoxPro itself still uses thread blocking for some things ... even in completely isolated processes. It was never written to be a good multi-thread manager, or parallel execution software. It does work, but it is lacking compared to other implementations due to its single-thread original design.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform