3 ms·
> Erlang processes are threads as seen by the OS Not true, Erlang processes are userspace threads, not kernel threads. It's an M:N model -- you can run thousan
by gmfawcett 8y ago
> Erlang processes are threads as seen by the OS
Not true, Erlang processes are userspace threads, not kernel threads. It's an M:N model -- you can run thousands of Erlang processes on a single OS thread. See:
http://erlang.org/euc/08/euc_smp.pdf http://erlang.org/euc/08/euc_smp.pdf
and note that each "scheduler" runs on a single OS thread, whereas many processes can run on each scheduler.
- fulafel 8y agoGood correction. But for the purpouses of this discussion re the processy-nature of Erlang processes, it's an implementation detail without difference in programming semantics.