3 ms·
You can have millions of loom threads. Why do they need to be async?
by eweise 5y ago
You can have millions of loom threads. Why do they need to be async?
- throwaway894345 5y agoThe question is how do those loom threads map to OS threads. If blocking I/O calls aren’t parked on designated OS threads then other work on those OS threads can’t progress.
- eweise 5y agoThat's the low level details loom takes care of for you. It maps the fibers onto threads and keeps the os threads active even if your fiber is blocked.