Path: 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 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