0
$\begingroup$

Threads called the "unit of dispatch" but what does that mean? I was looking over the web and two operating systems books but I can't find the answer. It seems that processes are defined by two characteristics: resource ownership and scheduling/execution. I understand that threads are within processes, and that there must be at least one thread. Can someone explain this to me please?

$\endgroup$
  • $\begingroup$ Have you checked Wikipedia? Also, it's more important that you understand what threads are than the reasoning behind a particular succinct description of threads. $\endgroup$ – Yuval Filmus Dec 13 '18 at 21:54
0
$\begingroup$

Threads are called the unit of dispatch because they are part of the process in almost all cases.Also they have states and priorities on the basis of which we can apply specific scheduling algorithm for process scheduling.

$\endgroup$
  • $\begingroup$ What is this key role? $\endgroup$ – David Richerby Dec 14 '18 at 13:08
  • $\begingroup$ Thread has states and priorities on the basis of it we can apply specific scheduling algorithm. Which is supposed to be a key role or main point to care. $\endgroup$ – Sandip Basnet Dec 14 '18 at 13:13
  • $\begingroup$ OK so please edit that into your answer. $\endgroup$ – David Richerby Dec 14 '18 at 13:13
2
$\begingroup$

"Unit of dispatch" just means "the thing that gets scheduled."

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.