Skip to content

ft: Add Priority Scheduling, Error Handling, and Unit Tests - #1

Open
thisistanishq wants to merge 1 commit into
Samriddhi-35:mainfrom
thisistanishq:main
Open

ft: Add Priority Scheduling, Error Handling, and Unit Tests#1
thisistanishq wants to merge 1 commit into
Samriddhi-35:mainfrom
thisistanishq:main

Conversation

@thisistanishq

Copy link
Copy Markdown

Changes

  • Implemented Priority Scheduling (Non-preemptive) in Offline_scheduler.h.
  • Added robust error handling for fork() and execvp() calls to prevent silent failures.
  • Created tests.cpp to verify FCFS and Priority Scheduling logic.
  • Updated README.md with new features and usage instructions.

Verification

  • Ran ./tests -> All passed.
  • Ran ./main -> Verified CSV outputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant