title: change Linux thread priority to real time SCHED_FIFO
body: <p>I am trying to change Linux thread priority to real time SCHED_FIFO by pthread_setschedparam. I am getting error &quot;no permission&quot;.</p>
  <p>I am getting this error when the process is executed under root (sodo).</p>
  <p>What is correct way to change Linux thread priority to real time SCHED_FIFO?</p>