Follow

Threads have problems: they were designed to parallelize compute-intensive tasks. However, today, a lot of applciations are I/O (Input / Output) intensive.

There are mainly 2 ways to deal with I/O tasks: preemptive scheduling and cooperative scheduling.

Let's see the differences between preemptive scheduling and cooperative scheduling.

kerkour.com/cooperative-vs-pre

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!