The pthread_setschedparam(3) manual page lists the following
possible reasons for the function's failure:
The pthread_setschedparam() function will fail if:
[EINVAL] Invalid value for policy.
[ENOTSUP] Invalid value for scheduling parameters.
[ESRCH] Non-existent thread thread.
However, the function may also fail -- with EPERM -- if an
attempt is made to alter the scheduling policy of a thread.
For bugs matching the following criteria:
Status: In Progress Changed: (is less than) 2014-06-01
Reset to default assignee and clear in-progress tags.
Mail being skipped