小编uni*_*kat的帖子

是生产者和多个消费者的std :: queue线程安全

如何使队列线程安全?我需要按/弹出/前/后清除.是什么类似的提升?

我有一个生产者和一个或多个消费者.

c++ queue containers boost boost-thread

13
推荐指数
2
解决办法
2万
查看次数

在ubuntu core 14.04上安装libboost-all-dev时发生依赖项故障

有人知道为什么我在“ sudo apt-get install libboost-all-dev”之后得到以下内容:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libboost-all-dev : Depends: libboost-context-dev but it is not going to be installed
                    Depends: libboost-coroutine-dev but it is not going to be …
Run Code Online (Sandbox Code Playgroud)

linux boost embedded-linux ubuntu-14.04

6
推荐指数
2
解决办法
4933
查看次数