-
Principal
Semaphore mit Round Robin
Hallo alle 
ich habe das folgende Bsp, das Round Robin mit 3 Zeiteinheit und Semaphore verwendet.
Proc_1 Start: 0 Laufzeit: 8
1: p(s)
.
.
.
8: v(s)
Proc_2 Start: 2 Laufzeit: 8
1: p(s)
.
.
.
8: v(s)
Wie ich es Graphisches darstelle.
RUNNING = R
READY = -
BlOCK = Q
P1| R R R - - - R R R R R - - - -
|
P2| - R Q Q Q Q Q Q - - R R R
|___________________________________
s:1 0 0 0 -1-1-1-1-1-1-1 0 0 0 0 0
Wie es Verstande habe, dass Round Robin das Process 1 in Ready list halten wird, wenn Process 2 laufen darf. Oder Habe ich es falsch verstanden?
Vielen Dank im voraus,
Camara
ps: bitte sehen das bsp.txt
Last edited by Camara; 25-06-2012 at 12:31.
-
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks