On Sat, 28 Oct 2006, David Xu wrote: > On Saturday 28 October 2006 12:36, Julian Elischer wrote: >>>> Julian >>> >>> As you are emphasizing fairness, I must say I don't believe fairness in >>> libpthread either, >> >> you mean you don't think it is a good idea or that you don't think it >> works? (sorry, I know that your english is way better than my >> chinese ;-) >> > I meant I don't think libpthread's userland scheduler + ksegrp in kernel > has implemented fairness between threads correctly. I think it has, at least WRT POSIX RR and FIFO scheduling. If there are more than one ksegrps, then it depends. POSIX says that scheduling with multiple scheduling allocation domains (I think that is the wording) is implementation defined. But one of the things I want to do is to keep threads scheduled on the same kse/ksegrp, so there would be one run queue for each (libpthread's version of a) kse, and threads would stay on the same kse. -- DEReceived on Sat Oct 28 2006 - 12:12:21 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:01 UTC