[Issue 15076] Get ID of current thread

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Sep 17 02:49:08 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=15076

Jonathan M Davis <issues.dlang at jmdavisProg.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |issues.dlang at jmdavisProg.co
                   |                            |m

--- Comment #2 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
I would think that the most natural thing to do (and what most folks would
likely look for) would be a static function/property on core.thread.Thread -
e.g. Thread.currThreadID - since that's where the thread stuff is.

--


More information about the Digitalmars-d-bugs mailing list