> From: Archana Sastry > > I wanted to implement something like this: > > 1. Maintain separate queues for each priority level. Put every > incoming thread into its respective queue. > 2. Dequeue threads from a queue and schedule it to run on its > respective cpu = priority number. > > In my system, I have 2 CPU's. So I wanted to know, if this is a > feasible approach?
It kind of drains the word "priority" of all meaning, if a low priority thread is chosen over a higher priority thread merely because of the CPU its bound to. It sounds like a hackish way to use the priority number to encode something entirely different. -- Ciao, Paul D. DeRocco Paul mailto:[email protected] -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
