<br><br><div class="gmail_quote">On Wed, Feb 3, 2010 at 6:38 PM, David T. Lewis <span dir="ltr">&lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On Wed, Feb 03, 2010 at 06:01:00PM -0800, Eliot Miranda wrote:<br>
&gt;<br>
&gt; So my questions are<br>
&gt; - is there any way I&#39;m missing to create different priority threads in a<br>
&gt; non-superuser process?<br>
<br>
</div>Lower the priority of all other threads, which would be equivalent to<br>
running Squeak under nice(1), which generally works fine.<br></blockquote><div><br></div><div>This doesn&#39;t work because in contemporary linux SCHED_OTHER threads are all of the same priority.  One can neither raise nor lower their priority.  nice changes a process&#39;s dynamic priority, not its static priority (see sched_setscheduler(2) and my footnote)</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Dave<br>
<br>
</blockquote></div><br>