Multiple Threads performance?

Hi, if I have a dual core and an application running the main thread but waiting on two other threads does this mean I have two threads running or three? I thought it would count as three but I seem to be getting better performance than just with the main thread and one additional thread.
Programs have to be carefully structured to make multiple threads useful. Google around "concurrent computing" and "concurrent programming" for more.
I know how to make and use multiple threads, I was just curious if waiting on two threads to finish in the main thread meant there would only be two threads running.
Usually, the thread that is waiting is not running, but perhaps you're busy-waiting? That's really too little information to be able to tell.
Topic archived. No new replies allowed.