Hi,

Basically, I wanted to display to an audience how an application having multiple tasks executing in multiple threads pans out across multiple cores.

Basically, imagine that I have two for loops running from 0 to 10,00 and printing some data in the loop. Now, I implement two threads (native threads) in which I run the loops.

Now, I want to show the audience that the two threads are running on separate cores (I have a Centrino Duo machine) instead of timesharing on the same core.

Now, is it possible to provide any visual proof of this fact on Windows - programatically on using the Windows Task Manager (Performance) window ?
Basically, wanted a simple implementation and proof because this is for an introduction to beginners in the world of multicore and parallel programming.

Thanks.