Messages in this thread | | | Date | Wed, 13 May 2009 09:36:23 +0300 | From | Jussi Laako <> | Subject | Re: [RFC][PATCH] Multimedia scheduling class, take 2 |
| |
Chris Friesen wrote: > Really? You can call pthread_attr_setschedpolicy() with a policy of > SCHED_MM? On my copy of glibc 2.8 it explicitly checks for > FIFO/RR/OTHER and anything else is rejected.
My copy of 2.9 has that fixed (original one is still broken), because that's also broken for SCHED_IDLE and SCHED_BATCH which have been in the kernel for a while already.
I'm not sure, but I think pthread_setschedparam() and sched_setscheduler() didn't need fixing.
- Jussi
| |