How to get PID of the process in Erlang?

Total Post:107

Points:535
 1058  View(s)
Ratings:
Rate this:
  1. Post:107

    Points:535
    How to get PID of the process in Erlang?

    spawn() function is used to determine the process PID, it returns a new process with the PID of the process.
    Example of Process creation:
    spawn(Module_Name, Name, Args) -> pid()
    Above, new process starts executing in Module_Name:Name(Args) where Name is the function name and Args is the argument list and argument lists are the no of possible elements which can be empty.

      Modified On Mar-28-2018 06:16:37 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!