Messages in this thread | | | From | David Schwartz <> | Date | Tue, 18 Jun 2002 15:00:42 -0700 | Subject | RE: Question about sched_yield() |
| |
>Correct my logic, please: > > 1. Rule: The less you want the CPU, the more you get it.
The more you relinquish the CPU, the more you get it when you do want it. (Dynamic priority.)
> 2. A yielder process never wants the CPU
A yielder process *always* wants the CPU, but always relinquishes it when it gets it. (It's always ready-to-run.)
> 3. As a result of Rule 1, it always gets it.
The correct rules 1 and 2 don't lead to the conclusion you think.
DS
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |