Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dual core question
Message
From
18/05/2007 15:11:18
 
 
To
17/05/2007 09:48:08
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01226293
Message ID:
01226926
Views:
18
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform