DragonFly bugs List (threaded) for 2008-07
DragonFly BSD
DragonFly bugs List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Firefox/libthread_xu issue with pthread_attr_setschedparam


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Mon, 14 Jul 2008 18:50:36 +0100

Jordan Gordeev wrote:
I have a Firefox problem caused by DragonFly and/or libthread_xu.
sched_get_priority_min(SCHED_OTHER) and sched_get_priority_max(SCHED_OTHER) return values PRIO_MIN (-20) and PRIO_MAX(20), both defined in sys/sys/resource.h.
When pthread_attr_setschedparam is called to set scheduling priority for scheduling policy SCHED_OTHER, the priority value is checked if it is within range by comparing it to THR_MIN_PRIORITY(0) and THR_MAX_PRIORITY(31), both defined in lib/libthread_xu/thread/thr_private.h. When a value in the range [-20; -1] is used, pthread_attr_setschedparam returns an error code of ENOTSUPP, which NSPR doesn't like. More precisely, when Firefox is compiled with the 'debug' pkgsrc option, an assert fails, abort() is called and a coredump written.

I thought we had fixed that some time ago already?




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]