> 
> >> You have to run application as root to use RT
> >> scheduler class, it's not always acceptable.
> >
> >Too bad there isn't (AFAIK) a fine-grained
> permission
> >that could allow giving a more favored priority
> >to one's own processes (or assigning them to the RT
> >scheduler class), but nothing else.
> 
> 
> ppriv -v -l proc_priocntl
> 
> proc_priocntl
> Allows a process to elevate its priority
>  above its current level.
> Allows a process to change its scheduling
>  class to any scheduling class,
>        including the RT class.
> to work, last time I checked.

Great!  I guess the name wasn't obvious enough for me.  :-)

So an exec_attr entry could be created to run an audio player via
a wrapper that set the scheduling class (or at least a lower nice number)
and then exec'd the audio player, right?
-- 
This message posted from opensolaris.org

Reply via email to