[PR #1372] Added Preemptive Priority Scheduling Algorithm in Process Scheduling … #1977

Closed
opened 2026-01-29 15:26:59 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/TheAlgorithms/C/pull/1372

State: closed
Merged: No


[process_scheduling_algorithms]

References
Issue no. #1339
https://github.com/TheAlgorithms/C/issues/1339

Description of Change

This C program demonstrates preemptive priority scheduling using a process struct. It executes various test cases, simulating different scheduling scenarios and calculating average turnaround and waiting times for each case.

Checklist

  • [ x] Added description of change
  • [ x] Added file name matches File name guidelines
  • [ x] Added tests and example, test must pass
  • [ x] Relevant documentation/comments is changed or added
  • [ x] PR title follows semantic commit guidelines
  • [ x] Search previous suggestions before making a new one, as yours may be a duplicate.
  • [ x] I acknowledge that all my contributions will be made under the project's license.

Please review my code

**Original Pull Request:** https://github.com/TheAlgorithms/C/pull/1372 **State:** closed **Merged:** No --- [process_scheduling_algorithms] References Issue no. #1339 https://github.com/TheAlgorithms/C/issues/1339 #### Description of Change This C program demonstrates preemptive priority scheduling using a process struct. It executes various test cases, simulating different scheduling scenarios and calculating average turnaround and waiting times for each case. #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [ x] Added description of change - [ x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [ x] Added tests and example, test must pass - [ x] Relevant documentation/comments is changed or added - [ x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [ x] Search previous suggestions before making a new one, as yours may be a duplicate. - [ x] I acknowledge that all my contributions will be made under the project's license. Please review my code
claunia added the pull-request label 2026-01-29 15:26:59 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1977