Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dual core question
Message
De
18/05/2007 15:11:18
 
 
À
17/05/2007 09:48:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01226293
Message ID:
01226926
Vues:
12
>Imagine writing an app that shares a table and processes a lot of math calcs.
>Compile it and name it appA
>Compile it again and name it appB
>appA uses the top half of the table
>appB uses the bottom half of the table
>Run them both at the same time
>Will the apps take advantage of the dual core?

Sure, if you do it right <g>.
View the whole task as a multiuser scenario,
add a "lDone" flag to your record
add recordlocking to your app
and you can run even the same exe multiple times on one multicore or many networked machines.
That way it is abstracted into n-way, whereas you way would require (minimal) coding for quad core already.

Each process will be awarded CPU time distributed according OS priciples, perhaps "advised" via API or task manager.

HTH

thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform