Line | |
---|
1 | #ifndef _SYS_RESOURCE_H
|
---|
2 | #define _SYS_RESOURCE_H
|
---|
3 |
|
---|
4 | /* Priority range for the get/setpriority() interface.
|
---|
5 | * It isn't a mapping on the internal minix scheduling
|
---|
6 | * priority.
|
---|
7 | */
|
---|
8 | #define PRIO_MIN -20
|
---|
9 | #define PRIO_MAX 20
|
---|
10 |
|
---|
11 | /* Magic, invalid priority to stop the process. */
|
---|
12 | #define PRIO_STOP 76
|
---|
13 |
|
---|
14 | #define PRIO_PROCESS 0
|
---|
15 | #define PRIO_PGRP 1
|
---|
16 | #define PRIO_USER 2
|
---|
17 |
|
---|
18 | int getpriority(int, int);
|
---|
19 | int setpriority(int, int, int);
|
---|
20 |
|
---|
21 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.