Next: , Previous: , Up: GNU Gnulib   [Contents][Index]


15 Multithreading

Multithreading is a programming paradigm. In a multithreaded program, multiple threads execute concurrently (or quasi concurrently) at different places in the program.

There are three motivations for using multithreading in a program:

A multithreading API offers

Note: Programs that achieve multithreading through OpenMP (cf. the gnulib module ‘openmp’) don’t create and manage their threads themselves. Nevertheless, they need to use mutexes/locks in many cases.


Next: Strings and Characters, Previous: Native Windows Support, Up: GNU Gnulib   [Contents][Index]