Summary: Implement toString for std.concurrency.Tid
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos

--- Comment #0 from Andrej Mitrovic <> 2011-11-22 
13:11:43 PST ---
Currently calling write() on a Tid prints:

In earlier versions this used to be:

In either case, this isn't much information. I think it would be useful if
toString was overloaded and returned a string with some sort of unique thread
ID, e.g.:

writeln(spawn(&test));  // Tid(0x0001)

This could make it easier to debug some types of threading problems without
having to use a debugger.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to