"Chris" == Chris Muller ma.chris.m@gmail.com writes:
After all, the higher priority job could always just force a cooperating job to yield if needed.
Chris> But it would be better for the cooperating process to be able to put Chris> *itself* to the back of the line.. That way, the "cooperative" nature Chris> of the process-scheduling behavior is localized in the business-logic Chris> rather than centralized in a process-manager. Something like; Chris> Processor yield: true or Processor yield: false?
I believe "yield" already means "back of the line", which it should. If yield put itself in the front of the line, it'd just start running again!