4 ms·
I thought Erlang relied heavily on threads...how does that even work without as OS?
by smegel 11y ago
I thought Erlang relied heavily on threads...how does that even work without as OS?
- olalonde 11y agoI was curious as well and Googled it. Apparently, the Erlang Runtime runs within a single OS thread and implements its own thread scheduler in user space. http://stackoverflow.com/questions/605183/how-if-at-all-do-erlang-processes-map-to-kernel-threads http://stackoverflow.com/questions/605183/how-if-at-all-do-e...
- corysama 11y agoUnikernels are very able to schedule threads to CPUs. Often, that scheduling is static. But, when your intent is to run a single process exclusively on the virtual machine, static scheduling is actually preferable.