Messages in this thread | | | Date | Sun, 10 Oct 1999 18:08:18 -0600 | From | Richard Gooch <> | Subject | Re: SCHED_YIELD again |
| |
Artur Skawina writes: > this assumes the SCHED_YIELD flag will prevent the current task from > being selected if there's anything else to run. Other than being > "wrong" from a modular pov, it's also wrong because that's not what > SCHED_YIELD actually does. Not even in the stock scheduler... (this > btw means that Richards sched_yield() change is wrong -- normal > threads will _not_ be selected even if a RT task has SCHED_YIELD > set)
Hm. Looking at the current scheduler code, I see you're right.
Damn, it's changed a lot since I last played with it! It's even more of a mess :-(
Regards,
Richard.... Permanent: rgooch@atnf.csiro.au Current: rgooch@ras.ucalgary.ca
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |