title: How to ensure that std::thread are created in multi core?
body: <p>I am using visual studio 2012. I have a module, where, I have to read a huge set of files from the hard disk after traversing their corresponding paths through an xml. For this i am doing</p>
  
  <pre><code>std::vector&lt;std::thread&gt; m_ThreadList;
  </code></pre>
  
  <p>In a while loop I am pushing back a new thread into this vector, something like </p>
  
  <pre><code>m_ThreadList.push_back(std::thread(&amp;MyClass::Readfile, &amp;MyClassObject, filepath,std::ref(polygon)));
  </code></pre>
  
  <p>My C++11 multi threading knowledge is limited.The question that I have here , is , how do create a thread on a specific core ? I know of parallel_for and parallel_for_each in vs2012, that make optimum use of the cores. But, is there a way to do this using standard C++11?</p>