Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I give a non-root user permission to execute pthread_setschedparam() to set thread priorities?

Thank you

share|improve this question

Grant the CAP_SYS_NICE capability.

share|improve this answer
1  
+1. Extending the answer with how to do it would be awesome. – user57260 Aug 12 '11 at 15:44
    
It turns out this is far from trivial. – reinierpost Jun 25 '14 at 16:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.