title: Identify processor (core) is used by specific thread
body: <p>I would like to know if it is possible to identify physical processor (core) used by thread with specific <code>thread-id</code>? </p>
  
  <p>For example, I have a multithreaded application that has two (2) threads (<code>thread-id = 10</code> and <code>thread-id = 20</code>, for instance). I run the application on a system that has a dual core processor (core 1 and core 2). So, how do I to get  core number used by thread with <code>thread-id = 20</code>?</p>
  
  <p>P.S. Windows platforms.</p>
  
  <p>Thank you, </p>
  
  <p>Denis.</p>