3 ms·
From what I understand, Erlang only preempts at function entry or exit, or at marked points in NIFs (C code). Because functional programming requires loops to
by toast0 7y ago
From what I understand, Erlang only preempts at function entry or exit, or at marked points in NIFs (C code).
Because functional programming requires loops to be written as recursive function calls, you can't do too much without calling/leaving a function, so a process can't avoid premption.