C: Multithreading

前端 未结 5 2587
孤街浪徒
孤街浪徒 2020-12-09 22:04

Is multithreading supported in C? If yes, then how do I try? Is there any open source library that lets me do it and is the library supported on Mac OS X?

I haven\'

5条回答
  •  天涯浪人
    2020-12-09 22:36

    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

提交回复
热议问题