title: std::thread - naming your thread
body: <p>The new C++ has this std::thread type. Works like a charm.
  Now I would like to give each thread a name for more easy debugging (like java allows you to).
  With pthreads I would do:</p>
  
  <pre><code>pthread_setname_np(pthread_self(), "thread_name");
  </code></pre>
  
  <p>but how can I do this with c++0x?
  I know it uses pthreads underneath on Linux systems, but I would like to make my application portable. Is it possible at all?</p>