// JP opened flex table

Click to See Complete Forum and Search --> : Thread ,schedule


Abalfazl
September 27th, 2007, 03:07 PM
Hello !

It is said:



"The basic unit of schedule is generally the thread"

May someone explian about this?

JVene
September 27th, 2007, 06:26 PM
Without more context, I can only guess.

A thread is 'owned' by a process, and there can be many threads owned by a process. The thread is the lower of the hierarchy, and as such, is the 'smaller' unit that the OS may consider when scheduling execution.

That is, a process - the instance of the application - may have a priority which affects the choices made by an OS scheduler (how much attention to devote to it). The threads owned by that process may have their own priority, and they will be subordinate to the priority of the process that owns them.

At least, that's all I can glean from the meaning of this isolated and out of context quote.

//JP added flex table