5. Predavanje - VTS NS
5. Predavanje - VTS NS
5. Predavanje - VTS NS
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Međusobno isključenjePrimer 2: Policijski helikopter prati kriminalca-begunca i navodipolicijski automobil koji ga juritype Coord = record {x : integer;y : integer;};var sharedCoord : Coord;process Helicoptervar nextCoord : Coord;beginloopcomputeNextCoord(nextCoord);sharedCoord := nextCoord;end;end;process PoliceCarbeginloopmoveTo(sharedCoord);end;end;46/285