I got a little confused,when there is 2 cores or more to a CPU does it mean that two processes can run on those cores or two different threads?.When there is hyper-threading does two threads run the same time in the core?
-
Possible duplicate of What is hyper-threading and how does it work?, Hyper-Threading and Dual-Core, What's the Difference? etc. These concepts have been discussed many times already. Do search before posting a new question.– KaranJul 6, 2013 at 19:40
-
possible duplicate of What are threads, and what do they do in the processor?– BreakthroughJul 6, 2013 at 21:45
Add a comment
|
1 Answer
when there is 2 cores or more to a CPU does it mean that two processes can run on those cores or two different threads?
It means that two threads can run at the same time. Those two threads may or may not belong to different processes. Processes use threads to get work done.
When there is hyper-threading does two threads run the same time in the core?
Yes, exactly. The two threads share the core's execution resources.