/OS-Clock-Sim

Takes in integer command line parameters for option -n and -s to fork and execvp n number of processes, allowing only s to be run simultaneously. Program terminates children and self after catching a signal from a 2 sec alarm or user enters Ctrl-C. Before ending, program outputs integer values in shared memory and deallocates the shared memory segment.

Primary LanguageC

Watchers