* Update thread.cpp
call SetThreadDescription() (if available) when setting the thread name, so that it is available in minidumps and to any process that has permission to call GetThreadDescription (as opposed to just being available inside the debugger)
* Update thread.cpp
whitespace fix
* Update thread.cpp
another bit of whitespace, I've become so blind to this
* Update thread.cpp
whoops - would help if it actually compiled
* Update thread.cpp
actually this one was unnecessary - already checked above as first #if condition
* Update thread.cpp
change to use GetModuleHandleA