Comment by lll-o-lll

9 days ago

They are different things perhaps? Fibers imply strict cooperative behaviour; I have to explicitly “yield” to give the other fibers a go, green threads are just runtime managed threads?

Green threads are cooperative threads. Preemption requires ability to handle hardware interrupts, which are typically handled by the OS.