Comment
Comment by bstewartnyc
# there is no 'balance', only this algorithm running my life
while(True):
task=getNextTask()
if priority(task)>priority(current_task):
backBurner.add(current_task)
current_task=task
startWorkOn(current_task)
else:
backBurner.add(task)