Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 boost:thread、Posix Thread 库和新的 C++11 多线程库有什么区别,尤其是在性能方面?
几乎什么都没有,因为boost::thread它是 POSIX 线程之上的一个薄包装器,并且可以从 *nix 上的 C++11 多线程实现中得到同样的结果。
boost::thread
boost::thread 应该是 POSIX 的包装器。只需阅读规范,C++11 就提供了相同的功能。