<br><br><div class="gmail_quote">On Wed, Feb 3, 2010 at 9:24 PM, Igor Stasenko <span dir="ltr"><<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>></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'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 <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br>
><br>
><br>
><br>
> On Wed, Feb 3, 2010 at 6:38 PM, David T. Lewis <<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>> wrote:<br>
>><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>
>> Lower the priority of all other threads, which would be equivalent to<br>
>> running Squeak under nice(1), which generally works fine.<br>
><br>
> 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)<br>
><br>
>><br>
>> Dave<br>
>><br>
><br>
><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Best regards,<br>
Igor Stasenko AKA sig.<br>
</font></blockquote></div><br>