Search⌘ K

Worried About Concurrency?

Explore how operating systems manage concurrency challenges, including handling interrupts during system calls and implementing locking schemes. Understand the basics of disabling interrupts to prevent conflicts and the complexity of locking while running multiple processes, preparing you for deeper concurrency topics.

We'll cover the following...

Some of you, as attentive and thoughtful readers, maybe now thinking: “Hmm… what happens when, during a system call, a timer interrupt occurs?” or “What happens when you’re handling one interrupt and another one happens? Doesn’t that get hard to handle in the kernel?” Good questions — we really have some hope for ...