<div dir="ltr">I am very new to Erlang, and just read that Erlang style process is done with something similar to coroutine + preemptive scheduling[1]. So I am interested to know how Erlang schedule process without the user inserting code like coroutine.yield() in the function created. Is there any document detail about this (I find some discussion like [2] but that doesn't give me a clear blueprint)? Or which part of source code should I look into? <div><div><br></div><div>I appreciate any suggestions. <br><div><br></div><div>[1]. <a href="https://hamidreza-s.github.io/erlang/scheduling/real-time/preemptive/migration/2016/02/09/erlang-scheduler-details.html">https://hamidreza-s.github.io/erlang/scheduling/real-time/preemptive/migration/2016/02/09/erlang-scheduler-details.html</a></div><div>[2]. <a href="http://erlang.org/pipermail/erlang-questions/2001-April/003132.html">http://erlang.org/pipermail/erlang-questions/2001-April/003132.html</a></div></div></div></div>