Using of two cpu cores possible?

BlitzMax Forums/BlitzMax Programming/Using of two cpu cores possible?

Grisu(Posted 2006) [#1]
Hi!

I have spent some bucks in order to upgrade my system with an AMD x2 Dual Core. - Now I was wondering if it is possible to detect a dual core system within bmx and to assign certain tasks to different cores?

For instance I have two very cpu intense For..next loops. Could I tell bmx that each loop shall be done on one core?

Thanks, Grisu


deps(Posted 2006) [#2]
Using threads, I believe.


FlameDuck(Posted 2006) [#3]
Could I tell bmx that each loop shall be done on one core?
No. BlitzMAX doesn't support multithreading.


Dreamora(Posted 2006) [#4]
Pseudo yes:

if you want the other core only to calculate stuff, it can be done using 2 executables and let them communicate through networking (I'm the lazy ass -> GNET :))


Grisu(Posted 2006) [#5]
Nice idea Dreamora. :o) - Thanks for that.