Thread.getId

Returns the current Thread's ID, uniquely identifying it among all threads. If the Thread is not running this returns an empty string.

struct Thread
@nogc nothrow const
String
getId
()

Meta