DEV Community

Discussion on: The Dispatcher

Collapse
 
9aruto profile image
surendra sharma

Hi
I am reading OS from Operating System Concepts (the dinosaur book). In this book the author says that the OS only schedules kernel threads and OS also allocates some number of kernel threads to each process whether it is user process or a system process. My question is why then the dispatcher needs to switch into user mode? And how does OS know which kernel thread is bind a user process and which isn't?