Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 618 Bytes

README.md

File metadata and controls

20 lines (18 loc) · 618 Bytes

Multiple-Process Scheduling Simulation

This project is simulation of multi process schedule and communcation consisting of CPU and memory processes communicating via the POSIX Pthreads library for thread.

How to run it?

make simulation

Command

  • C: Create a process
  • F: Fork
  • K: Kill process
  • E: Kill current process
  • Q: Time quantum
  • S: Send a message
  • R: Receive a message
  • Y: unblocks sender and delivers reply
  • N: Initialize new semaphore
  • P: Execute semaphore P Functionn
  • V: Execute semaphore V Function
  • I: Print complete process state info
  • T: Display all process queues and contents