title: Equivalent of SetThreadPriority on Linux (pthreads)
body: <p>Given the following bit of code, I was wondering what the equivalent bit of code would be in linux assuming pthreads or even using the Boost.Thread API.</p>
  
  <pre><code>#include &lt;windows.h&gt;
  
  int main()
  {
     SetThreadPriority(GetCurrentThread(),THREAD_PRIORITY_HIGHEST);
     return 0;
  }
  </code></pre>