Mikhail Yu. Antonov

2 Multi-threaded programming

Abstract: Parallel programming is vital to the efficient use of computers with multiprocessor architecture. MPI is one of the most popular technologies for parallel computations, in particular on MPP systems. On the other hand, most personal computers are equipped with multicore processors these days. There are different Application Programming Interfaces (APIs), which provide easier and simpler multi-threaded programming in such systems. Also, if MPI programs are used for communication inside a single computer performance could possibly be improved by multi-threaded parallelization.

2.1 POSIX threads

Thread libraries provide an API for creating and managing threads. Depending on the operating ...

Get Computational Technologies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.