Using of two cpu cores possible?
BlitzMax Forums/BlitzMax Programming/Using of two cpu cores possible?
| ||
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 |
| ||
Using threads, I believe. |
| ||
Could I tell bmx that each loop shall be done on one core? No. BlitzMAX doesn't support multithreading. |
| ||
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 :)) |
| ||
Nice idea Dreamora. :o) - Thanks for that. |