This is mach_param.h in view mode; [Download] [Up]
/* * Mach Operating System * Copyright (c) 1989 Carnegie-Mellon University * Copyright (c) 1988 Carnegie-Mellon University * Copyright (c) 1987 Carnegie-Mellon University * All rights reserved. The CMU software License Agreement specifies * the terms and conditions for use and redistribution. */ /* * HISTORY * $Log: mach_param.h,v $ * 9-May-91 Gregg Kellogg (gk) at NeXT * Removed support for registered mach ports. * * 7-Aug-90 Gregg Kellogg (gk) at NeXT * Moved PORT_BACKLOG_DEFAULT and PORT_BACKLOG_MAX from mach/mach_param.h * to mach/port.h * * Revision 2.9 89/03/10 01:59:14 rpd * Moved TASK_MAX, PORT_MAX, etc. here from mach/mach_param.h. * * Revision 2.8 89/03/10 01:29:57 rpd * More cleanup. * * 07-Apr-88 John Seamons (jks) at NeXT * removed TASK_CHUNK and THREAD_CHUNK * */ /* * File: mach/mach_param.h * Author: Avadis Tevanian, Jr., Michael Wayne Young * Copyright (C) 1986, Avadis Tevanian, Jr., Michael Wayne Young * * Mach system sizing parameters * */ #ifndef _MACH_MACH_PARAM_H_ #define _MACH_MACH_PARAM_H_ #if NeXT #else #import <mach/mach_param.h> /* for backwards compatibility */ #endif #if NeXT #define THREAD_MAX 512 /* Max number of threads */ #define TASK_MAX 512 /* Max number of tasks */ #else #define THREAD_MAX 1024 /* Max number of threads */ #define TASK_MAX 1024 /* Max number of tasks */ #endif #define PORT_MAX ((TASK_MAX * 3 + THREAD_MAX) /* kernel */ \ + (THREAD_MAX * 2) /* user */ \ + 20000) /* slop for objects */ /* Number of ports, system-wide */ #define SET_MAX (TASK_MAX + THREAD_MAX + 200) /* Max number of port sets */ #define KERN_MSG_SMALL_SIZE 128 /* Size of small kernel message */ #endif
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.