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.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
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.