title: How to get the name of a Win32 Thread?
body: <p>I know of the non-intuitive process to set the name of a thread under Windows (see "<a href="https://stackoverflow.com/questions/905876/how-to-set-name-to-a-win32-thread">How to set name to a Win32 Thread?</a>").  Is there a way to get the name of the thread?  I don't see any Windows API that lets me do this (<a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms684847%28v=vs.85%29.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/windows/desktop/ms684847(v=vs.85).aspx</a>).</p>