The OS perceives the number of execution contexts available as the number of cores present on the processor. It just has to map its threads onto the contexts available, and the hardware decided which of the threads need to be executed via multithreading. Thus, on a dual core hyperthreaded processor, the cpu info shows 4 processing cores instead of 2.
The OS perceives the number of execution contexts available as the number of cores present on the processor. It just has to map its threads onto the contexts available, and the hardware decided which of the threads need to be executed via multithreading. Thus, on a dual core hyperthreaded processor, the cpu info shows 4 processing cores instead of 2.