3 ms·
Adding preemption doesn't make it not an event loop, IMHO.
by toast0 3y ago
Adding preemption doesn't make it not an event loop, IMHO.
- ch4s3 3y agoThe context of the discussion was the node event loop, which doesn’t have preemption. The BEAM scheduler is only like an event loop when you’re locked to one physical processor core, otherwise the schedule is spreading work across multiple OS level threads. You could squint and call this an event loop manager with preemption, but I think the phrase “event loop” detracts from the clarity of any correct description.