Multiple thread and parallel programming
I am starting to get some taste in multiple thread and parallel programming to see if they can speed up my program running. I am a little confused after reading something online.
1. is multiple thread a type of parallel programming? Can they both accelerate the computation on a laptop with single processor or on a cluster?
2. do they require my code being modified to specified which parts can be run simultaneously on different threads, processors and computers? Or they could this automatically via some special C++ library or bash command without further human intervene?
Thanks in advance and really appreciate if you could point me to some good tutorials on these subject!