4 ms·
!Important clarification! In the world of OTP (Open telecom platform), a process is the term for what essentially is a green-thread, not an OS process! So it
by pkos98 6y ago
!Important clarification!
In the world of OTP (Open telecom platform), a process is the term for what essentially is a green-thread, not an OS process!
So it is:
a) much, much more lightweight (IIRC ~ 1Kb)
b) scheduled by the Erlang virtual machine (so called BEAM)'s scheduler. The BEAM's schedulers run on a per-thread-basis, inside the BEAM's process
c) independently garbage collected, no mutable memory sharing