1 /* Constants used by the Process Manager. */ 2 3 #define NR_PIDS 30000 /* process ids range from 0 to NR_PIDS-1. 4 * (magic constant: some old applications use 5 * a 'short' instead of pid_t.) 6 */ 7 8 #define NO_PID 0 /* pid value indicating no process */ 9 #define INIT_PID 1 /* INIT's process id number */ 10 11 #define NO_TRACER 0 /* process is not being traced */ 12 13 #define MAX_CLOCK_T ((unsigned long) 1 << ((sizeof(clock_t) * 8) - 1)) 14 #define MAX_SECS ( (clock_t) (MAX_CLOCK_T/system_hz) ) 15 /* max.secs for setitimer() ((2^31-1)/HZ) */ 16 #define NR_ITIMERS 3 /* number of supported interval timers */ 17 18 #define SEND_PRIORITY 1 /* send current priority queue to scheduler */ 19 #define SEND_TIME_SLICE 2 /* send current time slice to scheduler */ 20