News for hackers. Stuff that matters.
Re:Green Threads Explained by twoodfin on Monday May 29, 2017 @01:18PM (#14440160)
If your implementation is interpreted, or at least can act indistinguishably from an interpreter, it's possible to interrupt a green thread every N operations.

Obviously if you block in the OS for IO, your interpreter won't have a chance to preempt you, which is one of several issues with M:N threading models.

There are no comments on this comment yet.