C++0x has no semaphores? How to synchronize threads?

后端 未结 10 854
无人及你
无人及你 2020-11-22 07:18

Is it true that C++0x will come without semaphores? There are already some questions on Stack Overflow regarding the use of semaphores. I use them (posix semaphores) all the

10条回答
  •  长发绾君心
    2020-11-22 07:36

    You can also check out cpp11-on-multicore - it has a portable and optimal semaphore implementation.

    The repository also contains other threading goodies that complement c++11 threading.

提交回复
热议问题