There are three thread models that are used in thread scheduling implementations usually done by OS Kernels. One of them is the hybrid (M:N
) model in which some N
application threads are mapped to M
kernel threads so that they can use up to M
processors. There are pros and cons to this model. One of the advantages is that the languages that are based on this model will introduce a language level scheduler implementation that is responsible for management and scheduling the application-level threads.
- I was wondering if anyone knows any effort or a work that already has done this so that a language or library could take advantage of it?
- Considering for instance the fact that Kernel 2.6.23+ uses an algorithm called CFS for scheduling, do you think that this hybrid model would at all be a wise approach to invest on?