R6016

编程入门 行业动态 更新时间:2024-10-10 09:17:09
本文介绍了R6016 - 线程数据空间不足的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

如何在 C++ 应用程序中调试R6016 - 线程数据空间不足".我已经阅读了 http://support.microsoft/kb/126709 但想要一些其他输入.

How do I go about debugging "R6016 - not enough space for thread data" in a C++ application. I've read http://support.microsoft/kb/126709 but would like some other input.

推荐答案

此错误消息由 C 运行时库 CRT 生成.您使用的是哪个版本的 CRT?我将首先确定生成此错误时我的调用堆栈是什么.您可以 grep CRT 源代码以查找将返回错误的每个位置.我还会查看我的代码中调用 TLSAlloc 的任何地方,以了解我将哪些内容放入线程本地存储以及原因.

This error message is generated by the C Run Time Library, CRT. Which version of the CRT are you using? I would start by determining what my call stack was when this error is generated. You can grep the CRT source code to find every place the error would be returned. I would also look at any in place in my code that calls TLSAlloc to see what I am putting into thread local storage and why.

这篇关于R6016 - 线程数据空间不足的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-27 16:08:31,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1157114.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!