Home > DeveloperSection > Interviews > what is Spawn/ 1l3 and Spawn_link 1l3?

Posted on    June-25-2015 11:49 PM

 erlang Functional Programming  Concurrent Programming  erlang 
 1 Answer(s)
  435  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Posted on    June-25-2015 11:49 PM

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.

Modified On Jun-25-2015 11:50:01 PM

Don't want to miss updates? Please click the below button!

Follow MindStick