http://d.puremagic.com/issues/show_bug.cgi?id=6989
Summary: Implement toString for std.concurrency.Tid Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2011-11-22 13:11:43 PST --- Currently calling write() on a Tid prints: Tid(std.concurrency.MessageBox) In earlier versions this used to be: Tid 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------