/OSLab

Operating System Project for Lovely Professional University

Primary LanguageC

OS Lab

My Operating System project for Lovely Professional University

Setup and Run

This setup guide is for Linux and Mac

  1. Clone this repository or download zip.
  2. Extract the folder and open terminal in the folder
  3. Make compile.sh file executable : chmod +x compile.sh.
  4. Compile the code: ./compile.sh
  5. You will get multithreading.out and bankers.out as the output of two C programs
  6. Run Project 1 (Prime numbers using multithreading): ./multithreading.out
  7. Run Project 2 (Banker's algorithm): ./bankers.out