title: XCode Instruments: name threads
body: <p>For profiling multithreaded applications, it would be very useful to me to set a name for each thread.</p>
  
  <p>Initial googling turns up pthread_setname_np() (<a href="https://stackoverflow.com/questions/2369738/can-i-set-the-name-of-a-thread-in-pthreads-linux">see here</a>), but when used, it doesn't appear to show up in Instruments. </p>
  
  <p>Is there a way to do this from a C application?</p>