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



--- Comment #1 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2013-01-25 
11:42:52 PST ---
Hmm it looks like there isn't such a thing as a cross-platform
thread-identifier (at least not in Druntime).

Personally I like the idea of having named threads, where the name would be
stored in a Tid. So you could do things like:

spawn("workThread", &func, args);

where the first pointer argument is the function. It might help with debugging,
e.g. inspecting a Tid of a LinkTerminated exception could tell you which named
thread threw the exception.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to