[Vm-dev] linux thread priorities

Eliot Miranda eliot.miranda at gmail.com
Thu Feb 4 05:31:53 UTC 2010


On Wed, Feb 3, 2010 at 9:24 PM, Igor Stasenko <siguctua at gmail.com> wrote:

>
> How about good old fork() then?
>

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 :/


> On 4 February 2010 07:20, Eliot Miranda <eliot.miranda at gmail.com> wrote:
> >
> >
> >
> > On Wed, Feb 3, 2010 at 6:38 PM, David T. Lewis <lewis at mail.msen.com>
> wrote:
> >>
> >> On Wed, Feb 03, 2010 at 06:01:00PM -0800, Eliot Miranda wrote:
> >> >
> >> > So my questions are
> >> > - is there any way I'm missing to create different priority threads in
> a
> >> > non-superuser process?
> >>
> >> Lower the priority of all other threads, which would be equivalent to
> >> running Squeak under nice(1), which generally works fine.
> >
> > 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)
> >
> >>
> >> Dave
> >>
> >
> >
> >
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20100203/c162375d/attachment.htm


More information about the Vm-dev mailing list