Function Thread.getId

Returns the current Thread's ID, uniquely identifying it among all threads.

String getId() nothrow @nogc const;