Skip to content

Commit 72366d2

Browse files
author
Fatih
committed
start to first come first served scheduling method
1 parent f351384 commit 72366d2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

schedularsimulator.c

+17
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ int sizeofdata (struct node *data);
4747
void display (struct node *data);
4848
void displaytimes (struct result *times);
4949

50+
void firstcomefss(struct node *data,char preemptivemood);
51+
5052
// this is main function
5153

5254
int main(){
@@ -262,4 +264,19 @@ struct node * insertBack(struct node *data, int b,int a,int p,int row)
262264
return data;
263265
}
264266

267+
void firstcomefss(struct node *data,char preemptivemood); //fisrt come first served scheduling method
268+
{
269+
struct *tempdata ;
270+
struct result *temptimes;
271+
272+
tempdata= data;
273+
temptimes=times;
274+
275+
int i=1;
276+
int SIZE = sizeofdata(tempdata);
277+
278+
for(i=1; i<=SIZE; i++){
265279

280+
}
281+
282+
}

0 commit comments

Comments
 (0)