Revision 8769,
494 bytes
checked in by ghudson, 28 years ago
(diff) |
First cut at source tree documentation.
|
Line | |
---|
1 | This file describes operations not covered by the ANSI C or POSIX |
---|
2 | specifications. |
---|
3 | |
---|
4 | Setting the process priority |
---|
5 | |
---|
6 | Setting the process priority |
---|
7 | ---------------------------- |
---|
8 | You should use the function nice() to change the process priority |
---|
9 | relative to its current value. Avoid using setpriority() and |
---|
10 | getpriority(). |
---|
11 | |
---|
12 | To set the current process priority to 0, use "nice(-nice(0))", since |
---|
13 | nice(0) will return the current process priority. (Obviously, you can |
---|
14 | only do this with root permissions.) |
---|
Note: See
TracBrowser
for help on using the repository browser.