nmcglohon/OSHomework2 — pull request #43 by gingerbeard92 (2014-10-23 13:18:28+00:00)
Title: We're so close!!

I added to isCPUBoundDone a check to make sure there weren’t any
CPU-bound processes in the CPU (its possible that the final few
CPU-bound processes could be in the CPU but no in the readyQueue or
waitingList, so we’d finish prematurely). I then added an extra tick
right before each algorithm finishes execution in order to print out
the final termination message (the final CPU-bound process would be
terminated, but we wouldn’t get around to doing one more tick inside
the loops because the !(isCPUBoundDone) condition would be false). The
only edit I made in Process was to add in a closing parentheses in
ttlBrstStr(). I also removed some cruft (debugging print statements,
comments of mine no longer needed).