impure functiongetPid
Retrieve the current process id
Extends from Modelica.Icons.Function (Icon for functions).
Information
Syntax
pid = System.getPid();
Description
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.
Example
getPid() // = 3044
Note
This function is impure!
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | pid | Process ID |
Revisions
| Date | Description | ||
|---|---|---|---|
| June 22, 2015 |
|