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.
Liked By
Write Answer
How to get PID of the process in Erlang?
Join MindStick Community
You have need login or register for voting of answers or question.
Tarun Kumar
07-Mar-2016Example 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.