Subject: Re: pthreads internals
To: None <email@example.com>
From: Christos Zoulas <firstname.lastname@example.org>
Date: 11/10/2006 17:14:57
In article <email@example.com>,
Mindaugas <firstname.lastname@example.org> wrote:
>1. Linux threads are emulated as processes. Would be good benefit to improve
>this to use a native threading implementation. The more complex part is a
>userland pthreads library with specific SA calls. Have we any thoughts about
>implementing this part?
Not very easy to do, but a worth-while goal.
>2. There is still a priority scheduling in TODO. Currently threads do not
>compete among themselves. Any thoughts how this part should be done? Some
>prioritizing in PTQ queue, something like donice() for processes, other?
>2. NetBSD POSIX threads supports only a SCHED_OTHER option, which is an
>implementation of time-sliced SCHED_RR ("round-robin"). How about SCHED_FIFO,
>conforming a POSIX, with SA implementation?
Somebody else was interested in providing in a pluggable scheduler API for
NetBSD... Once that is done, it should be easier to implement other kinds