-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdriver.c
48 lines (33 loc) · 1011 Bytes
/
driver.c
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* driver.c
Group Members:
Kevin Thomas, [email protected]
Lucas Sager, [email protected]
Allison Meredith, [email protected]
Group: C
Autor: Kevin Thomas
Date:3/30/2024
File Discription: Main function driver file for OS project
*/
#include <stdio.h>
#include <stdlib.h>
#include "readfile.c"
//#include "Synchronization.c"
//#include <ProcessManagment.c>
//#include <Syncronization.c>
int main() {
char input_txt[] = "input.txt"; //input file name
sharedMemorycleanup(0); // for issues.
sharedMemorysetup();
readfile();
//loop for input file content avalablity
// Process input text for data related to account functions
//Pass input perameters to procecss managment based uppon function needed.
//report progress
//execute deadlock prevention routine
//exit loop condition EOF
//wait for all processes to have finished
//report completion status
sharedMemorycleanup(1);
// Exit the program
return 0;
}