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.
Markdown for AI
A clean, structured version of this page for AI assistants and LLMs.
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.