What is a CPU thread and how is it related to logical threads in code?

前端 未结 5 1714
执念已碎
执念已碎 2021-01-12 10:10

I have been seeing in the literature for some of the newer CPU\'s such as the Intel Xeon \"Nehalem-EX\" as having 8 cores and 16 threads. What are they talking about here? I

5条回答
  •  有刺的猬
    2021-01-12 10:48

    It is up to each operating system's threading model to map OS-level threads to hardware-level threads such as those described in the question.

    The logical threads spawned by high-level programming languages used by applications programmers are still an OS-level removed from the hardware, unless of course you're talking about the OS code that does the mapping.

提交回复
热议问题