C: Multithreading C: Multithreading multithreading multithreading

C: Multithreading


C is not intrinsically a multithreaded language; however there are many libraries which add threading functionality.


C has no concept whatever of threads. There is no thread support in C Standard. There are extensions available that can implement multi threading - one of which is pthreads.

Be aware because C language has no natural support of threads you as the programmer have to take care of everything and you will not be protected against any of the pitfalls of multi-threaded programming.


the new dialect - C1X, will offer multi-threading out of the box, as stated from wikipedia:

Multithreading support (_Thread_local storage-class specifier, header including thread creation/management functions, mutex, condition variable and thread-specific storage functionality, as well as the _Atomic type qualifier and for uninterruptible object access).

currently of courae as mentioned above, multi-threading is not supported in the newest dialect of c - C99