Messages in this thread | | | Date | Tue, 12 May 2009 19:34:45 +0300 | From | Jussi Laako <> | Subject | Re: [RFC][PATCH] Multimedia scheduling class, take 2 |
| |
Chris Friesen wrote: > If all you're trying to do is allow different threads to run at > different nice levels, what about extending sys_setpriority() to take a > "which" of PRIO_THREAD? We'd probably have to call the syscall directly > until/unless libc picks up the new option.
How would this be mapped to a POSIX standard API? I would like to see something which works straight out with pthread_setschedprio()/pthread_getschedparam(). In order it to work correctly it also needs sys_sched_get_priority_min and sys_sched_get_priority_max.
- Jussi
| |