Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Semaphores and Operating System Simulator

This program creates an operating system simulator that forks child processes, maintains a simulated system clock, and produces a log file of when each child process terminates.

Child processes randomly terminate within 1 to 1,000,000 nano seconds of being created.

How to Build and Run

  1. Clone or download the project

Within the root of the project:

  1. Run make
  2. Run oss

Arguments

 -h  Show help.
 -s  The maximum number of slave processes spawned. Defaults to 5.
 -l  Specify the log file. Defaults to 'oss.out'.
 -t  Time in seconds master will terminate itself and all children. Defaults to 20.
 -m  Simulated time in seconds master will terminate itself and all children. Defaults to 2.

Read cs4760Assignment3Fall2017Hauschild.pdf for more details.

About

A program that creates an empty shell of an OS simulator capable of basic tasks in preparation for a more comprehensive simulation later

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published