<br><br><div class="gmail_quote">On Wed, Feb 3, 2010 at 6:38 PM, David T. Lewis <span dir="ltr"><<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>></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>
><br>
> So my questions are<br>
> - is there any way I'm missing to create different priority threads in a<br>
> 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'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'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>