-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
27 lines (18 loc) · 996 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---------------------------------------------Operating system lab-CSE341 - Monsoon 2019-----------------------------------------
------------------------------------------------------Project : Context switching-----------------------------------------------
Group-4 1741064 Rajvee Kadchha
1741078 Rajvi Patel
Language : C
Files:
1) Main.c
It contains all operations such as process creation, scheduling ,context switch,updating pcb and gui,which is implemented using GTK.
To compile & run :
-> gcc `pkg-config gtk+-3.0 --cflags` main.c stack_implementation.c queue_implementation.c -o os `pkg-config gtk+-3.0 --libs`
->./os
2) stack_implementation.c
It contains stack implementation for push,pop operations.
3) queue_implementation.c
It contains queue implementation for enqueue, dequeue operations.
4) process*.txt
It contains instruction of process.
This code can be run in linux. Only main.c needs to be run.You need to install GTK3.0 to run this.