Simulation for multiprocesses using Shortest Job First algorithm on Windows Environment. Communication between parent process and child processes are making by named piped.
To run correctly:
- Open Visual Studio
- Create New Empty Project named the Parent(File > New > Project)
- Go to Source Files, then right click to New Item named parent.c,
- Copy the parent.c from repository to your project
- In your project, click the Solution "ProjectName", then go to Add, then go to New Project (Solution > Add > New Project)
- Create New Empty Project named the Child(BE CAREFUL!! The project name is case sensitive, project name as child or other things give error(s))
- In the Child Project, go to Source Files, then right click to New Item named child.c
- Copy the child.c from repository to Child project
- DO NOT FORGET! Right click to Parent project then click "Set as StartUp Project"
- Build the solution and run.