I have to state again that running two threads on a single core processor CAN be faster that running one thread. I have a program that definitely works that way (no Hyperthreading) and my roommate's ...
Threads can provide concurrency, even if they're not truly parallel. In my last article, I took a short tour through the ways you can add concurrency to your programs. In this article, I focus on one ...