assembly kod

HWSW Famulus hwsw at famulus.hu
Mon Oct 20 22:38:14 CEST 2003


> > PREEMTIVE a rendszer tehat az utemezo folyton-folyvast utemez!!!
> > Legfeljebb, ha CSAK EGY!!! ilyen szal fut akkor AZT UTEMEZI UJRA MINDIG,
> > ezert szamodra allandoan futonak tunik, de indits el 10 ilyen szalat es
lon
> > csoda.
> >
> >
> Udv
>
> ...Ez a csoda nem jon el soha!!! Nem szeretnek vitatkozni errol, ha ugy
gondolod
> hogy igy mukodik a Windows, en nem foglak lebeszelni errol...:-)

Ne bosszants mar......

Most roviden, de mindjart hosszan is megkapod az infot......

Utemezni meg a timecritical azaz 31-es prioritasu szala(ka)t is utemezni
kell
Ettol preemptive egy oprendszer!!!!!!

Vagyis nem a futo szal dont mikor engedi el a CPU-t,
(ilyen volt valaha pl. 3.1-es win)  hanem az utemezo mindig
elveszi amikor az idokvantum lejar.....
aztan legfeljebb visszadja, ha nincs jobb otlete :-)

---------------------------------------
The scheduler must make !!!!!! a CPU scheduling decision every time!!!!!!!!
one of three
situations occurs:

* A thread's quantum on the CPU expires.
* A thread waits for an event to occur.
* A thread becomes ready to execute.

When a thread's quantum expires, the scheduler executes the FindReadyThread
algorithm to decide whether another thread needs to take over the CPU. If a
higher-priority thread is ready to execute, it replaces (or preempts) the
thread that was running.
--------------------------

KJ





More information about the Elektro mailing list