On Sun, Aug 22, 2010 at 09:51:28PM +0100, Federico G. Schwindt wrote: > On Sun, Aug 22, 2010 at 10:04:07PM +0200, Markus Bergkvist wrote: > > A work-in-progress port of mediatomb, I'm stuck and need some help: > > > > * the configure script picks up spidermonkey headers (jsapi.h) but > > the libjs/libsmjs link fails, shouldn't "checking for JS_NewObject > > in -ljs" work? > > > > * how do I get it to pick up ffmpeg support? > > I've had a port for this for some time (based on djm@ submission) but > never managed to mail it for one reason or another. > IIRC, I didn't have these issues so attached if you want to review it > or play with it. btw, at the time I tested it with ps3. > > f.-
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; In the manual for pthread_setschedparam(3) it suggests we should use PTHREAD_MIN_PRIORITY/PTHREAD_MAX_PRIORITY, but these are not defined in /usr/include (only privately in the pthread sources apparently). In some private emails we have been questioning the extent to which OpenBSD does not support thread priorities. What I can tell you is that if you pass in 0/0 instead of 0/31, the web interface no longer works. I'm guessing someone knows why, hence the patch ;) -- Best Regards Edd Barrett http://www.theunixzoo.co.uk
