joyent/libuv — pull request #1564 by orangemocha (2014-11-07 15:25:46+00:00)
Title: win: fix uv_thread_self()

59658a8de7cc05a58327a164fd2ed4b050f8b4f4 changed uv_thread_self()
to return uv_thread_t, but uv_thread_t is a thread's HANDLE while
uv_thread_self() returns the current thread's id.
This means that uv_thread_equal() is also broken, as we are
potentially comparing HANDLES to ids.

Changed uv_thread_t to DWORD.
Fixed small doc issue.