LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   process scheduling problem.. (https://www.linuxquestions.org/questions/general-10/process-scheduling-problem-605846/)

nick021 12-10-2007 11:53 AM

process scheduling problem..
 
hi friends..
i got a question..regarding process scheduling..

If two process arrive at CPU with equal priorities and burst time,remaining time i.e all the other factors same, which one will be processed first.

regards..

sundialsvcs 12-11-2007 08:37 PM

Homework, huh?

The answer is: "It's unpredictable. Plan accordingly."

nick021 12-12-2007 08:02 AM

hi sundialsvcs,

i dont think its unpredictable,
there must be some method/criteria/parameter or algo to break tie b/w processes.

anyway..its not a homework.
it is an interview question of s/w firm.

regards

Mara 12-13-2007 02:41 PM

Depends on the OS. Usually the one that came first.


All times are GMT -5. The time now is 04:20 AM.