Erlang Language Data Types Processes Identifiers (Pid)


Each process in erlang has a process identifier (Pid) in this format <x.x.x>, x being a natural number. Below is an example of a Pid


Pid can be used to send messages to the process using 'bang' (!), also Pid can be bounded to a variable, both are shown below

MyProcessId = self().
MyProcessId ! {"Say Hello"}.

Read more about creating processes and more in general about processes in erlang