简体   繁体   English

尝试在Windows 32位系统中创建超过最大可能线程数

[英]Trying to create more than the maximum possible number of threads in a Windows 32-Bit system

当我尝试创建另一个线程(达到最大线程数后?)后会发生什么?

CreateThread will fail when you run out of resources. 资源耗尽时, CreateThread将失败。

ERROR_NOT_ENOUGH_MEMORY in a normal configuration and ERROR_NO_SYSTEM_RESOURCES with small stack reserve. ERROR_NOT_ENOUGH_MEMORY在正常配置和ERROR_NO_SYSTEM_RESOURCES小堆储备。

See Pushing the Limits of Windows: Processes and Threads for more details. 有关更多详细信息,请参阅推送Windows的限制:进程和线程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM