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)?
Microsofts Task Manager....sigh
- Colonel Kernel
- Member
- Posts: 1437
- Joined: Tue Oct 17, 2006 6:06 pm
- Location: Vancouver, BC, Canada
- Contact:
Top three reasons why my OS project died:
- Too much overtime at work
- Got married
- My brain got stuck in an infinite loop while trying to design the memory manager