On Thu, Sep 23, 2010 at 11:25:08AM +0200, Antoine Jacoutot wrote: > On Thu, 23 Sep 2010, Federico G. Schwindt wrote: > > > > [..] > > > Right, so I committed this, but we want to know what is going on in the > > > threadpool.c diff. > > > > > > Where did the magical numbers 0 and 31 come from?: > > > + minPriority = 0; > > > + maxPriority = 31; > > > [..] > > > > egrep -r "PTHREAD_M(IN|AX)_PRIORITY" /usr/src//lib/libpthread/uthread/*.h > > Of course, but I think the point was whether we wanted to use values > from private headers since PTHREAD_M(IN|AX)_PRIORITY is not accessible > from /usr/include.
I'm still confused as to what level of support OpenBSD has for thread priorities. Setting both min and max to 0 breaks mediatomb, so they must be supported in some fashion. -- Best Regards Edd Barrett http://www.theunixzoo.co.uk