Quantcast
Channel: Active questions tagged operating-system+scheduling - Stack Overflow
Viewing all articles
Browse latest Browse all 209

Are there any real life examples of this Tanenbaum example?

$
0
0

I’m making my first steps into CS in college. :) We’re going through Tanenbaum’s book and I have 3 idle curiosities and questions about an honestly pretty not significant part lol.

See here - section on thread scheduling (https://i.stack.imgur.com/n0K68.jpg)

  1. What is an example of a situation in which this demonstrated event could occur? (Kernel chooses process, thread scheduler chooses user thread, user thread hogs process). How would you go about preventing the thread from using up Process A every time it’s process A’s turn on the cpu?
  2. Would this be an example of a preemptive or cooperative system?
  3. Are there any operating systems built like this? My understanding is that Windows schedules all threads and Linux schedules all processes and threads.

Thank you!

I didn’t really know what to look for here, although I spent a lot of time googling. mostly curious if any OS’ are built like this and/or what could trigger this.


Viewing all articles
Browse latest Browse all 209

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>