2005-07-01 11:59:49 +02:00
|
|
|
#ifndef _SYS_RESOURCE_H
|
|
|
|
#define _SYS_RESOURCE_H
|
|
|
|
|
|
|
|
/* Priority range for the get/setpriority() interface.
|
|
|
|
* It isn't a mapping on the internal minix scheduling
|
|
|
|
* priority.
|
|
|
|
*/
|
|
|
|
#define PRIO_MIN -20
|
|
|
|
#define PRIO_MAX 20
|
|
|
|
|
2006-03-10 17:10:05 +01:00
|
|
|
/* Magic, invalid priority to stop the process. */
|
|
|
|
#define PRIO_STOP 76
|
|
|
|
|
2005-07-01 11:59:49 +02:00
|
|
|
#define PRIO_PROCESS 0
|
|
|
|
#define PRIO_PGRP 1
|
|
|
|
#define PRIO_USER 2
|
|
|
|
|
|
|
|
int getpriority(int, int);
|
|
|
|
int setpriority(int, int, int);
|
|
|
|
|
|
|
|
#endif
|