Re: Number of Procs
Darac Marjal writes:
> On Wed, Jan 08, 2014 at 11:40:36AM -0200, Hudson Flavio Meneses Lacerda wrote:
Sorry, but this paragraph needs a couple of "label" corrections
> "Cooperative Multitasking".
Sorry, the label here is "Preemptive" (*), according to your own
expaination :).
> One process will be given some time on a processor and then, after
> a period of time or when that process yields control of the
> processor
Is not the process that yelds, it's the kernel that assigns the CPU to
another process, as you correctly explain below.
> (for example, if the process is waiting for
> data to come from a disk, then there's nothing for the CPU to do), the
> kernel will suspend that process and pick another one. The choosing of
> when to switch processes and which processes to pick when several are
> wanting the CPU, is performed by the scheduler.
In "coopeartive multitasking" a process helds the CPU control as long
as he wishes (Windows 3.11, old Mac OS, Java Green Threads).
--
/\ ___ Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_____ African word
//--\| | \| | Integralista GNUslamico meaning "I can
\/ coltivatore diretto di software not install
già sistemista a tempo (altrui) perso... Debian"
Warning: gnome-config-daemon considered more dangerous than GOTO
Reply to: