Function OSSingleton.getProcessId

Returns the project's process ID. Note: This method is implemented on Android, iOS, Linux, macOS and Windows.

long getProcessId() nothrow @nogc const;