Strawman proposal: making libthr default thread implementation?
Daniel Eischen
deischen at freebsd.org
Tue Jul 4 13:08:40 UTC 2006
On Tue, 4 Jul 2006, David Xu wrote:
> On Monday 03 July 2006 21:44, Daniel Eischen wrote:
>> On Mon, 3 Jul 2006, David Xu wrote:
>>> On Monday 03 July 2006 20:40, Daniel Eischen wrote:
>>>> No, I think those are what libthr lacks in supporting POSIX.
>>>> I think the problem will be getting our 3 kernel schedulers to
>>>> support them.
>>>
>>> it is mutex code and priority propagating which is already
>>> supported by turnstile code, in theory, it is not depended
>>> on scheduler.
>>
>> Sure it is. SCHED_FIFO and SCHED_RR are scheduling attributes.
>> Mutex code and priority propagation have nothing to do with
>> this.
>
> I have never said SCHED_FIFO and SCHED_RR is related to mutex,
> in fact, I am confused that you always said them at same time.
The question was what does libthr lack. The answer is priority
inheritence & protect mutexes, and also SCHED_FIFO, SCHED_RR, and
(in the future) SCHED_SPORADIC scheduling. That is what I stated
earlier in this thread.
--
DE
More information about the freebsd-threads
mailing list