gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 828b77a)
raw | patch | inline | side by side (parent: 828b77a)
author | Doni Pracner <quinnuendo@gmail.com> | |
Mon, 17 Feb 2014 18:04:18 +0000 (19:04 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Mon, 17 Feb 2014 18:04:18 +0000 (19:04 +0100) |
skripta-os2.tex | patch | blob | history |
diff --git a/skripta-os2.tex b/skripta-os2.tex
index 4298297d510fdd93fc7e343e1a126a517924f15f..48ce00bad10e288a786601477096264a2f042318 100644 (file)
--- a/skripta-os2.tex
+++ b/skripta-os2.tex
\begin{minipage}{0.6\textwidth}
\begin{codeblock}
-i := 1;
-j := 0;
-WHILE (i < n) AND (j < m) DO
+dubina := 1;
+brdece := 0;
+WHILE (dubina < maxdubina) AND
+ (brdece < potrebnodece) DO
pid := fork();
IF pid # 0 THEN
- INC(j);
+ INC(brdece);
ELSE
- INC(i);
- j:=0;
+ INC(dubina);
+ brdece := 0;
END;
END;
\end{codeblock}