D-Programming-Language/phobos — pull request #1582 by AndrejMitrovic (2013-09-17 20:30:00+00:00)
Title: Issue 6989 - Create a better string representation of Tid's for easier thread identification and debugging.

http://d.puremagic.com/issues/show_bug.cgi?id=6989

I'm thinking of actually implementing an `opEquals` method as well, which simply would compare the `threadID` fields.

Maybe there's an even better way to implement toStringg, perhaps by inspecting `mbox` or some other field. But I figured this would be the simplest way to do it without depending on OS-specific thread identifiers.