首页 \ 问答 \ C ++ 11中是否有任何并发容器?(Are there any concurrent containers in C++11? [closed])

C ++ 11中是否有任何并发容器?(Are there any concurrent containers in C++11? [closed])

特别是,我正在寻找一个阻塞队列。 C ++ 11中有这样的事情吗? 如果没有,我的其他选择是什么? 我真的不想自己下线到线程级别。 方式太容易出错。


In particular, I am looking for a blocking queue. Is there such a thing in C++11? If not, what are my other options? I really don't want to go down to the thread level myself anymore. Way too error-prone.


原文:https://stackoverflow.com/questions/7817364
更新时间:2023-07-03 18:07

最满意答案

处理OnKeyDown事件并测试Key=VK_RETURN


Handle the OnKeyDown event and test for Key=VK_RETURN.

相关问答

更多
  • 我们学校也用Free Pascal,而不是教科书上那种 老师说的好像是程序小,操作简单,还有纠错功能,中学生也就只能看懂这个了 而且是程序竞赛指定软件
  • 右键——默认值——默认代码页——更改为‘437 (OEM - 美国)’——确定 其他的调试步骤: 例1. 1的调试: 1、Free Pascal程序的启动 双击桌面上的Free Pascal,启动后,界面如下: 2、第一次启动free pascal 时,用鼠标单击菜单不起作用,需用要进行设置。右击标题栏,选择属性: 3、在属性窗口中,去掉2个快速编辑模式和插入模式前的复选框的勾,再单击确定按纽,新弹出:将属性应用于快捷的设置,在该面板中选择:修改启动该窗口的快捷方式。设置好了,关闭free pascal窗口 ...
  • free pascal & turbo pascal 区别 --------------------------------------------------- 虽然Free Pascal尽量设计得和Turbo Pascal接近,但是由于以下的两个原因,两者之间还是有一些区别的: 1.Free Pascal是一个32位的编译器,而Turbo Pascal只是16位编译器; 2.Free Pascal是一个跨平台的编译器,而Turbo Pascal只在windows上使用。 如果你的代码是遵守ANSI Pa ...
  • 关于free pascal[2021-12-14]

    是用着FreePascal内核的一个开发环境而已。一个真正的程序员是不会在意IDE和windows的。 真正熟练的程序员 只需要 编辑器 编译器 调试器 就能开发各种各样的程序了。 信息学竞赛中Delphi是不可能作为推荐IDE的,多数pascal的OIer或ACMer都是用FreePascal IDE FreePascal自带的IDE确实有很多的bug,但是解决方法还是有的。 1: 使用调试模式 Options > Mode > Debug 防止出现不明错误 2: Options > C ...
  • Free Pascal[2023-04-19]

    以在free pascal官方网站上下载(英文)具体步骤如下: 1、http://www.freepascal.org/ 2、在最上方点击download 3、有如下几个连接 Binaries You can download the 2.0.x release for the following cpu and operating systems:
  • 处理OnKeyDown事件并测试Key=VK_RETURN 。 Handle the OnKeyDown event and test for Key=VK_RETURN.
  • 2005年,我修补Indy 9与FPC合作。 它只适用于Windows 32位 ,之后我迁移到Indy 10,所以结果不被保留。 我搜索了一下,主要的端口似乎是http://www.stack.nl/~marcov/indy/indy9forfpc.zip 几个月后,我添加了这个存档http://www.stack.nl/~marcov/indy/indy9.zip ,我怀疑这是我的普通indy9工作目录,并且可能包含一些演示文稿,而这些演示文稿不在以前的存档中。 我希望自2005年以来没有保持足够的说法。 ...
  • 你可以得到要替换的单词数量,然后在用户界面中考虑它应该是非常简单的。 You can get the number of words to replace like this, then taking it into account in the user interface should be quite straightforward.
  • DCC定义已添加到XE2中的Delphi编译器。 在此之前,您必须使用{$IFDEF VERxxx}语句来检查每个版本的Delphi是否存在各个VERxxx定义,或者检查Delphi 6+的{$IF DECLARED(CompilerVersion)}语句。 The DCC define was added to the Delphi compiler in XE2. Prior to that, you had to use {$IFDEF VERxxx} statements to check for ...
  • 开源libxml2引擎支持SAX,并且可以使用Pascal绑定 。 The open-source libxml2 engine supports SAX, and has a Pascal binding available.

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。