title: Why does pthread_setschedparam() produce EPERM on opensuse 11.4
body: <p>I am writing an application with c++ and NetBeans on opensuse 11.4 with kernel 2.6.37.1-1.2
  (logged in as root). This application creates a thread and when run gives this result: </p>
  
  <pre><code>    sched_param param;
      param.__sched_priority = -1;
      policy = SCHED_FIFO;
      param.__sched_priority = 50;
      result = pthread_setschedparam(m_thread,policy,&amp;param);
  </code></pre>
  
  <p>result =  <code>1(EPERM (not permitted))</code></p>
  
  <p>Why?</p>