🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.xinu
Article #343

Re: Process quantum

#343
From: Serge Rouveyrol
Date: Mon, 12 Jun 1989 16:01
16 lines
1224 bytes
In article <5123@imag.imag.fr> guitin@imag.imag.fr (Guilbot-martin) writes:
>give a context switching. For example, a process that signals an other one 
>with the same priority will lost the CPU for a while.

An other problem is that the quantum is real and not virtual.
If a process  is in a waiting state (after an I/O for example),
when this process will be awake, it will not found the rest of its quantum.
The variable preempt must be save in the context of the process when
the process is not active and restore when the process is active .

ps) Mes excuses pour ce dialecte qui se veut etre de l'anglais.

-- 
"Les jours de pluie ...  etc ... "
serge@imag.imag.fr      serge@imag.UUCP      uunet.uu.net!imag!serge
Rouveyrol Serge,Laboratoire L.G.I,BP 53,38041 Grenoble , CEDEX , FRANCE
Technical Details
Message-ID: <5124@imag.imag.fr>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!cs.utexas.edu!uunet!mcvax!inria!imag!serge
References: <5123@imag.imag.fr>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!cs.utexas.edu!uunet!mcvax!inria!imag!serge
From: serge@imag.imag.fr (Serge Rouveyrol)
Newsgroups: comp.os.xinu
Subject: Re: Process quantum
Message-ID: <5124@imag.imag.fr>
Date: 12 Jun 89 16:01:58 GMT
References: <5123@imag.imag.fr>
Reply-To: serge@imag.UUCP (Serge Rouveyrol)
Organization: IMAG, University of Grenoble, France
Lines: 16