HOW TO GET PID OF THE PROCESS IN ERLANG?

Tarun Kumar

Total Post:107

Points:535
Posted by  Tarun Kumar
 645  View(s)
Ratings:
Rate this:
  1. Tarun Kumar

    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-07-2016 12:23:41 AM

Answer

NEWSLETTER

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