Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Whats the exack checking order for processes as it affects their sequence in a queue?

0
Posted

Whats the exack checking order for processes as it affects their sequence in a queue?

0

As stated in the assignment, for each tick the correct processing order should be: • new processes arrive: if yes, put them into a READY queue; • blocked processes: if there’s any process finished blocking, put it into a READY queue; • running process: (1) if the current running process finishes its CPU burst, choose a new process to run; (2) if there’s a higher priority process in a ready queue, stop the current one and put it into its ready queue; (3) if the current running process uses up its quantum and there exists another process which has the same priority as the current one, then stop the current one; otherwise reset the quantum and continue. The above order means that a process may change its status several times in one tick. For example, a process, which enters the system first, may change its status from NEW to READY, then from READY to RUNNING in just one tick. It seems to me that I only need a set of READY queues, not others. Is it true? Yes, it’s true. The key is to imple

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123