Addison-Wesley Professional, 2010. — 480 p.
The book reveals how specific hardware implementations impact application performance and shows how to avoid common pitfalls. Step by step, you’ll write applications that can handle large numbers of parallel threads, and you’ll master advanced parallelization techniques.
You’ll learn how toIdentify your best opportunities to use parallelism.
Share data safely between multiple threads.
Write applications using POSIX or Windows threads.
Hand-code synchronization and sharing.
Take advantage of automatic parallelization and OpenMP.
Overcome common obstacles to scaling.
Apply new approaches to writing correct, fast, scalable parallel code.
Multicore Application Programming isn’t wedded to a single approach or platform: It is for every experienced C programmer working with any contemporary multicore processor in any leading operating system environment.