Skip to content

Commit d8616c7

Browse files
authored
Feature/scheduler (#12)
* Block Competing process * New System Call dispatcher * unlock io requests * count active processes at statusTable[12] * continue execution after the process end + test hd
1 parent bbc3689 commit d8616c7

File tree

3 files changed

+32884
-17
lines changed

3 files changed

+32884
-17
lines changed

Test/Scheduler/fibonacci.c

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
int main(void)
2+
{
3+
int num;
4+
int numA;
5+
int numB;
6+
int i;
7+
8+
numA = 1;
9+
numB = 0;
10+
i = 0;
11+
while (i < 200)
12+
{
13+
num = numA + numB;
14+
numB = numA;
15+
numA = num;
16+
i = i + 1;
17+
}
18+
output(num);
19+
}

0 commit comments

Comments
 (0)