How can I add: Dispatcherto this program, time slice to each process and how to make OS identify the state of each process. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I add: Dispatcherto this program, time slice to each process and how to make OS identify the state of each process.

#include <iostream.h> #include <conio.h> #include <stdio.h> Int main() { clrscr(); { char process_name; } process_queue[10]; int i, limit; char c; printf("\nEnter total number of processes: "); scanf("%d",& limit); for(i=0, c='A' ; i<limit; i++, c++) { process_queue[i]. process_name=c; printf("\nEnter details for process [%c]: ", process_queue[i]. process_name); } getch(); return 0; }

3rd Aug 2019, 2:52 PM
Richard Chiyaba
0 Answers