View My GitHub Profile
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){ if(p->state == RUNNABLE) hpflag = hpflag > p->priority ? hpflag : p->priority; }