InterviewSolution
| 1. |
Explain What Is Spawn/ 1l3 And Spawn_link 1l3? |
|
Answer» Spawn/ 1l3: It creates a new PROCESS and return its pid. In SYSTEM scheduler queue, the new process is placed so that it runs some TIME later. Spawn_link/1l3: It provides the same functionality as spawn/1l3 but with the ADDITION of a link that is atomically CREATED between the newly spawned process and the caller. Spawn/ 1l3: It creates a new process and return its pid. In system scheduler queue, the new process is placed so that it runs some time later. Spawn_link/1l3: It provides the same functionality as spawn/1l3 but with the addition of a link that is atomically created between the newly spawned process and the caller. |
|