一个WOW64进程可以有多少个同时运行的线程?

时间:2018-09-06 08:15:12

标签: multithreading concurrency wow64

让我首先澄清两个方面:

(1)by concurrently-running ,我的意思是在任何时间点在硬件上执行,而不是处于其他操作系统状态,例如 ready 正在等待;和

(2)假定硬件具有足够数量的硬件线程(又名逻辑处理器),因此这不是限制因素。例如。 4096个硬件线程。 (显然我还没有这样的机器。)

我已阅读到32位Windows仅支持32个并发运行的线程,并且一个64位进程(在64位Windows上)每个处理器组可以具有64个并发运行的线程以及Windows 10上最多20个处理器组(使用多个组时)。

但是我一直找不到与WOW64相关的任何信息。我发现了很多有关可以创建的最大线程数的信息,但是关于并发运行的线程却没有任何信息。

那么,WOW64进程可以拥有多少个同时运行的线程(在Windows 10上)?

是吗?

(a)32,用于与32位Windows兼容;或

(b)64,因为无法通过32位代码访问处理器组,所以所有线程都在默认处理器组中运行;或

(c)数量更多,因为WOW64进程部分是64位代码,并且该(Microsoft)代码可以使用多个处理器组。 (我不认为这是可能的,但将其作为另一种可能性。)

编辑。

这不是以下有关Stack Overflow的任何问题的重复,因为由于地址空间限制,它们的答案主要集中在线程最大值上。

What is the maximum number of threads a process can have in windows [closed]

What's the maximum number of threads in Windows Server 2003?

"What's the maximum number of threads possible for a threads in Windows 8.1?

The maximum number of thread [duplicate]

类似地,以下两篇经常被引用的文章也涉及地址空间限制。

Pushing the Limits of Windows: Processes and Threads

Does Windows have a limit of 2000 threads per process?

0 个答案:

没有答案