Thank you all. It runs beautifully... I think...
Final code:
package benchmark;
import java.util.ArrayList;
Type: Posts; User: aesguitar
Thank you all. It runs beautifully... I think...
Final code:
package benchmark;
import java.util.ArrayList;
Did I do this correctly?
for(Thread t: th)
{
t.start();
}
for(Thread t : th)
I have a dual core i5 @ 2.4 GHz with hyperthreading giving 4 logical cores. I have it creating threads based on the amount of free RAM. When it runs, it uses 800,000 MB and around 90% of my...
The thing is, I don't know. I was simply wondering if there was maybe an easier or faster way to do it, I don't have anything to compare it to as I'm not very good with multi-threading yet. Also, is...
I'm building a simple benchmark program that proves the primality the largest 64-bit unsigned prime number. So far, I can set up the threads and they all run correctly, but in an effort to increase...