I'm pretty much talking to myself right now, but I figured I'd update with what I've gotten going so far.
I was able to implement a basic two thread setup with the program I was running previously (searching for large prime factors for RSA contest). However, not only did it not use more than ~50% of the CPU as before, but each thread took about twice as long.
Does anyone have some idea why this is? And, more importantly, how I can implement the 2 threads within the program so that they are actually using more than 50% of the CPU like the @Home programs?
|