title: how to print correctly the handling thread on Windows?
body: <p>Could someone please tell us on how to print correctly the handling thread in windows? Actually I tried several ways but it doesn't return the right number as in Unix-variant, as such e.g.:</p>
  
  <pre><code>cout &lt;&lt; " with thread " &lt;&lt; pthread_self &lt;&lt; endl;
  cout &lt;&lt; " with thread " &lt;&lt; pthread_self().p &lt;&lt; endl;
  </code></pre>
  
  <p>Thanks for your replies:</p>