Re: Recent thread changes

2000-10-16 Thread Daniel M. Eischen
[EMAIL PROTECTED] wrote: > > In article > <[EMAIL PROTECTED]>, Daniel > Eischen <[EMAIL PROTECTED]> wrote: > > > For SCHED_FIFO and SCHED_RR, we don't have a problem because both > > the threads library and kernel now agree that the range is 0..31. > > SCHED_OTHER is a problem because the thread

Re: Recent thread changes

2000-10-16 Thread jdp
In article <[EMAIL PROTECTED]>, Daniel Eischen <[EMAIL PROTECTED]> wrote: > So far I read this as saying the sched_XXX functions operate on > processes, whereas the pthread_{set|get}schedparam functions operate > on threads. Me too. > > (4) When a running thread calls the sched_setparam

Re: Recent thread changes

2000-10-15 Thread Gerhard Sittig
On Sun, Oct 15, 2000 at 00:20 -0400, Daniel Eischen wrote: > On Sat, 14 Oct 2000 [EMAIL PROTECTED] wrote: > > > (6) If a thread whose policy or priority has been modified is > > a running thread or is runnable, runnable thread [sic] it then > > becomes the tail of the thre

Re: Recent thread changes

2000-10-14 Thread Daniel Eischen
On Sat, 14 Oct 2000 [EMAIL PROTECTED] wrote: > In article <[EMAIL PROTECTED]>, > Daniel Eischen <[EMAIL PROTECTED]> wrote: > > On Sat, 14 Oct 2000 [EMAIL PROTECTED] wrote: > > > > > > I thought you could get that information with sched_get_priority_min() > > > and sched_get_priority_max(). Is t

Re: Recent thread changes

2000-10-14 Thread jdp
In article <[EMAIL PROTECTED]>, Daniel Eischen <[EMAIL PROTECTED]> wrote: > On Sat, 14 Oct 2000 [EMAIL PROTECTED] wrote: > > In article <[EMAIL PROTECTED]>, > > Daniel Eischen <[EMAIL PROTECTED]> wrote: > > > The range of valid priorities has also changed, perhaps > > > requiring a library versi

Re: Recent thread changes

2000-10-14 Thread Daniel Eischen
On Sat, 14 Oct 2000 [EMAIL PROTECTED] wrote: > In article <[EMAIL PROTECTED]>, > Daniel Eischen <[EMAIL PROTECTED]> wrote: > > The range of valid priorities has also changed, perhaps > > requiring a library version bump. The range of valid priorities > > is not visible outside of the threads lib

Re: Recent thread changes

2000-10-14 Thread jdp
In article <[EMAIL PROTECTED]>, Daniel Eischen <[EMAIL PROTECTED]> wrote: > > I've just committed some changes to the threads library > and would appreciate feedback from anyone running threaded > applications. They include fixes that -stable could really > use. > > This commit also implements

Recent thread changes

2000-10-13 Thread Daniel Eischen
I've just committed some changes to the threads library and would appreciate feedback from anyone running threaded applications. They include fixes that -stable could really use. This commit also implements zero system call thread context switching in the threads library. Switching between thr