22 lines
		
	
	
		
			854 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			854 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* Constants used by the Process Manager. */
 | |
| 
 | |
| #define NR_PIDS	       30000	/* process ids range from 0 to NR_PIDS-1.
 | |
| 				 * (magic constant: some old applications use
 | |
| 				 * a 'short' instead of pid_t.)
 | |
| 				 */
 | |
| 
 | |
| #define NO_PID	           0	/* pid value indicating no process */
 | |
| #define INIT_PID	   1	/* INIT's process id number */
 | |
| 
 | |
| #define NO_TRACER	   0	/* process is not being traced */
 | |
| 
 | |
| #define DUMPED          0200	/* bit set in status when core dumped */
 | |
| 
 | |
| #define MAX_CLOCK_T	((unsigned long) 1 << ((sizeof(clock_t) * 8) - 1))
 | |
| #define MAX_SECS	( (clock_t) (MAX_CLOCK_T/system_hz) )
 | |
| 				/* max.secs for setitimer() ((2^31-1)/HZ) */
 | |
| #define NR_ITIMERS	   3	/* number of supported interval timers */
 | |
| 
 | |
| #define SEND_PRIORITY      1	/* send current priority queue to scheduler */
 | |
| #define SEND_TIME_SLICE    2    /* send current time slice to scheduler */
 | 
