thisProcessID

Returns the process ID of the current process, which is guaranteed to be unique on the system.

@property @trusted nothrow @nogc
int
thisProcessID
()

Examples

writefln("Current process ID: %d", thisProcessID);

Meta