Returns the process ID of the current thread, which is guaranteed to be unique within the current process.
A core.thread.ThreadID value for the calling thread.
writefln("Current thread ID: %s", thisThreadID);
See Implementation
Returns the process ID of the current thread, which is guaranteed to be unique within the current process.