minix/servers/pm/const.h

15 lines
503 B
C
Raw Normal View History

/* Constants used by the Process Manager. */
2005-06-30 14:56:34 +02:00
#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 PM_PID 0 /* PM's process id number */
#define INIT_PID 1 /* INIT's process id number */
2006-05-11 16:57:23 +02:00
#define DUMPED 0200 /* bit set in status when core dumped */
2009-08-15 18:09:32 +02:00
#define MAX_SECS (((1<<(sizeof(clock_t)*8-1))-1)/system_hz)
/* max.secs for setitimer() ((2^31-1)/HZ) */