码迷,mamicode.com
首页 > 其他好文 > 详细

vs2012 condition_variable notify_one 崩溃

时间:2016-10-24 14:02:29      阅读:200      评论:0      收藏:0      [点我收藏+]

标签:window   not   ++   nec   run   rar   and   官方   项目   

  vs2012项目中用到 condition_variable系统方法,程序运行过程过程中偶尔出现notify_one崩溃,

程序运行的服务器系统版本是windows server 2008 R2 SP1,相同的程序在window server 2008,

2012多次部署过并没有出现notify崩溃的问题。搜索了下错误在微软官方网站得到答复,结果是vs2012

的bug,vs2013版本已经修复了这个bug,抱着试试看的心态,重新将程序编译到vs2015版本,该问题

不复存在。官方答复如下:

  

由 Microsoft 在 2014/4/29 於 12:32 公佈
Thank you for reporting this issue. This issue has been fixed in Visual Studio 2013. You can install a trial version of Visual Studio 2013 with the fix from: http://go.microsoft.com/?linkid=9832436
由 Microsoft 在 2012/12/17 於 17:26 公佈
Hi,

Thanks for reporting this bug. We‘ve fixed it (the problem was in the Concurrency Runtime which powers our implementation of std::condition_variable), and the fix will be available in the next release of our C++ Standard Library implementation.

Note: Connect doesn‘t notify me about comments. If you have any further questions, please E-mail me.

Stephan T. Lavavej
Senior Developer - Visual C++ Libraries

 

vs2012 condition_variable notify_one 崩溃

标签:window   not   ++   nec   run   rar   and   官方   项目   

原文地址:http://www.cnblogs.com/wanggang123/p/5992516.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!