Messages in this thread | | | Subject | Re: 2.6.X, NPTL, SCHED_FIFO and JACK | Date | Wed, 30 Jun 2004 13:52:36 -0400 | From | Paul Davis <> |
| |
>On Wed, Jun 30, 2004 at 12:32:03PM -0400, Paul Davis wrote: >> >One thing to note is that NPTL defaults to PTHREAD_INHERIT_SCHED >> >while LinuxThreads defaults to PTHREAD_EXPLICIT_SCHED. >> >So, if you care about what scheduling created threads will have >> >and want it to work with both NPTL and LinuxThreads, you want >> >pthread_attr_setinheritsched (&attr, PTHREAD_*_SCHED); >> >explicitely. >> >> But since we always set the scheduling class explicitly, should the >> inherited scheduler class make any difference? > >Of course.
i understand that in the context of "pthread_attr_*; pthread_create();", but we use pthread_create() and then set scheduling class/priority within the new thread. Why would INHERIT_SCHED affect that? Does it? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |