https://bugs.kde.org/show_bug.cgi?id=487996

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k...@davidedmundson.co.uk

--- Comment #1 from David Edmundson <k...@davidedmundson.co.uk> ---
>From your link:

The reason it doesn't do anything is that Linux does not provide a way
to set scheduling parameters for a _process_, only for threads. The
sched_setscheduler syscall is documented as taking a pid but actually
takes a thread id and only operates on that thread. glibc just ignores
this and provides sched_* functions that do the wrong thing.

Fortunately there's an easy fix: use pthread_setschedparam, and
pthread_self to get the pthread_t value you need to pass to it.

---

That seems like an actionable task

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to