[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-audio-dev
Subject:    [linux-audio-dev] How to find out actual max priority available
From:       Jonathan Ryshpan <jonrysh () pacbell ! net>
Date:       2007-02-09 14:18:56
Message-ID: 1171030736.3041.10.camel () claremont ! localdomain
[Download RAW message or body]

The functions sched_get_priority_max() and sched_get_priority_min()
return the max and min priorities available for the scheduling policy in
force (currently 99 and 1 for SCHED_RR).  

What method can be used to discover the max priority currently available
to the current process, as controlled by /etc/security/limits.conf (or
whatever controls it at the time of the inquiry)?

In particular this is for the kernel 2.6.19-1.2895.fc6 running
(naturally) under Fedora Core 6.

Thanks - jon

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic