<br><br><div class="gmail_quote">On Wed, Feb 3, 2010 at 9:24 PM, Igor Stasenko <span dir="ltr">&lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
How about good old fork() then?<br></blockquote><div><br></div><div>Requires us to rewrite the entire sound pump using shared memory or the like.  It&#39;s a lot of work and we hope to have an alpha next week :/</div><div>
 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 4 February 2010 07:20, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Feb 3, 2010 at 6:38 PM, David T. Lewis &lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Feb 03, 2010 at 06:01:00PM -0800, Eliot Miranda wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; So my questions are<br>
&gt;&gt; &gt; - is there any way I&#39;m missing to create different priority threads in a<br>
&gt;&gt; &gt; non-superuser process?<br>
&gt;&gt;<br>
&gt;&gt; Lower the priority of all other threads, which would be equivalent to<br>
&gt;&gt; running Squeak under nice(1), which generally works fine.<br>
&gt;<br>
&gt; 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)<br>

&gt;<br>
&gt;&gt;<br>
&gt;&gt; Dave<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Best regards,<br>
Igor Stasenko AKA sig.<br>
</font></blockquote></div><br>