# pthread on SLES 11 SP2, priority issue

**URL:** <https://forums.suse.com/t/pthread-on-sles-11-sp2-priority-issue/23726>\
**Category:** SLE Software Developer Kit (SDK)\
**Created:** [March 14, 2013, 12:47pm UTC](https://forums.suse.com/t/pthread-on-sles-11-sp2-priority-issue/23726 "2013-03-14T12:47:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![subhanahmed2013](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@subhanahmed2013](https://forums.suse.com/u/subhanahmed2013)\
**Post date:** [March 14, 2013, 12:47pm UTC](https://forums.suse.com/t/pthread-on-sles-11-sp2-priority-issue/23726/1 "2013-03-14T12:47:21Z")

</div>

I have been facing an issue recently with threading, pthread on SLES 11, SP2.

I am running a program which create few threads and then attempts to update thread priority. But it returns error when I try updating priority. I have tried changing priorities via pthread\_create() and pthread\_setschedparam() but no joy.

The error code from pthread\_create was EPERM

(EPERM == ÂThe caller does not have appropriate permission to set the required scheduling parameters or scheduling policyÂ)

Surprisingly, I am running this program as root user.

Have done minor updates to the kernel values i.e. clock ticks, I think which does not relates to it but thought should tell you. But as such using default kernel which comes with this installation.

Thanks for looking at this.

we have a support contract with NOVELL but thats not even enable me to log a service request. apprently we never used this account in past and upon calling people in the UK call centre, they keep avoiding and disconnecting call. shame!
