WOLFRAM SYSTEM MODELER
getPidRetrieve the current process id |
|

SystemModel["Modelica.Utilities.System.getPid"]

This information is part of the Modelica Standard Library maintained by the Modelica Association.
pid = System.getPid();
Returns the pid (process identification) of the process in which this function is called. This is an impure function and the returned value depends on the operating system.
getPid() // = 3044
This function is impure!
| pid |
Type: Integer Description: Process ID |
|---|
| Date | Description | ||
|---|---|---|---|
| June 22, 2015 |
|