Hacker News new | ask | show | jobs
by matthews2 850 days ago
In this example, the kernel is doing the task switching. They are "real" threads. The userspace component is informing the kernel which tasks should be run.

goroutines and Java virtual threads are a separate idea. The application saves its state and then yields back to a scheduler in the application.