Posted: Wed Apr 18, 2007 10:55 pm
FYI: This is how the QNX scheduler works, with the added feature that threads at higher priority levels can only be pre-empted by higher-priority threads (they otherwise have an infinite timeslice). But QNX is a real-time OS, so YMMV.Brendan wrote:How about using a multi-level feedback queue without the feeback part? For example, have 4 queues where threads never change between queues (unless the user shifts them, or they ask to be shifted)?