getpid function

int getpid()

Returns the process ID (PID) of the calling process.

Implementation

int getpid() => platform.getpid();